WebSphere Message Broker, Version 8.0.0.7
Operating Systems: AIX, HP-Itanium, Linux, Solaris, Windows, z/OS
See information about the latest product version
See information about the latest product version
_MB superglobal variables
The PHP API for user-defined patterns contains four variables within the _MB superglobal. You can use these variables in PHP scripts that are used to modify instances of user-defined patterns.
The _MB superglobal for the PHP API for user-defined patterns contains the variables shown in the following table.
Variable | Description |
---|---|
PATTERN_INSTANCE_MANAGER | Includes methods to log messages and get access
to message flows. For more information about the methods available
in PATTERN_INSTANCE_MANAGER, see Message Broker Java API. The following example shows you how
to access PATTERN_INSTANCE_MANAGER methods:
|
PP | Returns an array that is populated with the
pattern parameters. The following example shows you how to print the
value of the parameter pp2:
|
PATTERN_INSTANCE_NAME | Returns the name of the current pattern instance that is being generated. |
WORKSPACE_ROOT | Returns the full path to the current workspace location. |