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

PHP constants for type values

You can use type values to create syntax elements in your message tree.

The following tables detail PHP constants for type variables and their corresponding XMLNSC constants:

Common field types

Use the following common field type constants to create syntax elements in the message tree.
Construct PHP Field Type constant Field Type constant
A name element
MB_TYPE_NAME
Name
A name value element
MB_TYPE_NAME_VALUE
NameValue
A value element
MB_TYPE_VALUE
Value

XMLNSC field types

Use the following XMLNSC field type constants to create syntax elements in the message tree.
Construct PHP Field Type constant Field Type constant
Simple element
MB_XMLNSC_FIELD
MB_XMLNSC_CDATA_FIELD
XMLNSC.Field
XMLNSC.CDataField
Attribute
MB_XMLNSC_SINGLE_ATTRIBUTE
MB_XMLNSC_ATTRIBUTE
XMLNSC.SingleAttribute
XMLNSC.Attribute
Mixed content
MB_XMLNSC_VALUE
MB_XMLNSC_CDATA_VALUE
XMLNSC.Value
XMLNSC.CDataValue
Namespace declaration
MB_XMLNSC_NAMESPACE_DECL
XMLNSC.NamespaceDecl
Complex element
MB_XMLNSC_FOLDER
XMLNSC.Folder
Inline DTD
MB_XMLNSC_DOCUMENT_TYPE
XMLNSC.DocumentType
XML declaration
MB_XMLNSC_XML_DECLARATION
XMLNSC.XmlDeclaration
Entity reference
MB_XMLNSC_ENTITY_REFERENCE
XMLNSC.EntityReference
Entity definition
MB_XMLNSC_SINGLE_ENTITY
MB_XMLNSC_ENTITY
XMLNSC.SingleEntityDefinition
XMLNSC.EntityDefinition
Comment
MB_XMLNSC_COMMENT
XMLNSC.Comment
Processing instruction
MB_XMLNSC_PROCESSING_INSTRUCTION
XMLNSC.ProcessingInstruction
BLOB type element 
to be written directly to the bit stream
MB_XMLNSC_BITSTREAM
XMLNSC.BitStream

JSON field types

Use the following JSON field type constants to create syntax elements in the message tree.
Construct PHP Field Type constant Field Type constant
JSON array
MB_JSON_ARRAY
JSON.ARRAY
Notices | Trademarks | Downloads | Library | Support | Feedback

Copyright IBM Corporation 1999, 2016Copyright IBM Corporation 1999, 2016.

        
        Last updated:
        
        Last updated: 2016-05-23 14:47:59


Reference topicReference topic | Version 8.0.0.7 | bc40090_