wsdl::serializeComplexTypeElements
serializes the elements for a complexType
Signature
public function serializeComplexTypeElements(array
$typeDef,
mixed
$value,
string
$ns,
string
$uqType,
[string
$use = 'encoded',
[boolean
$encodingStyle = false]] )
Parameters
$typeDef
—
array
- our internal representation of an XML schema type (or element)
$value
—
mixed
- a native PHP value (parameter value)
$ns
—
string
- the namespace of the type
$uqType
—
string
- the local part of the type
$use
—
string
- use for part (encoded|literal)
$encodingStyle
—
boolean
- SOAP encoding style for the value (if different than the enclosing style)
Returns
- string
- value serialized as an XML string