sess_extension
sess_extension (sesshdl, opcode, argArray)
This function invokes a repository adapter-specific extension function. Some adapters provide functionality beyond the standard ACL repository API. Each function is identified by an integer opcode that is defined by the adapter. Extension functions take an array of strings as arguments and return a string. sess_extension returns the result of the opcode extension method, which is typically a string or number.
• sesshdl is a session handle.
• opcode is an integer that identifies which extension method to invoke.
• argArray is an array of argument values. The number of parameters and their meaning depends on the specific extension function.
If opcode is invalid or the extension method fails, sess_extension writes error data to $main::ioerr. The value returned on failure depends on the specific extension method.
|
This function is not supported by the PTC Server connection. You must use the Arbortext Object Model (AOM) CMSSession.invokeExtension method instead. Refer to the Programmer's Reference for more information about the AOM interfaces.
|