SoapFormat Class Reference
Detailed Description
SoapFormat implements the SOAP request/response format.
Nodes are serialized into an array (the nusoap library creates the XML).
Definition at line 23 of file SoapFormat.php.
Inheritance diagram for SoapFormat:Public Member Functions | |
| __construct (NodeSerializer $serializer) | |
| getMimeType (Response $response=null) | |
| isCached (Response $response) | |
| getCacheDate (Response $response) | |
| setSerializer (NodeSerializer $serializer) | |
Public Member Functions inherited from AbstractFormat | |
| deserialize (Request $request) | |
| serialize (Response $response) | |
| getResponseHeaders (Response $response) | |
Protected Member Functions | |
| isSerializedNode ($value) | |
| serializeNode ($value) | |
| deserializeNode ($value) | |
Protected Member Functions inherited from HierarchicalFormat | |
| deserializeValues (Request $request) | |
| serializeValues (Response $response) | |
| isDeserializedNode ($value) | |
Protected Member Functions inherited from AbstractFormat | |
| beforeDeserialize (Request $request) | |
| afterDeserialize (Request $request) | |
| beforeSerialize (Response $response) | |
| afterSerialize (Response $response) | |
| getNode (ObjectId $oid) | |
| filterValue ($value, AttributeDescription $attribute) | |
Protected Attributes | |
| $serializer = null | |
Constructor & Destructor Documentation
◆ __construct()
| __construct | ( | NodeSerializer | $serializer | ) |
Constructor.
- Parameters
-
$serializer NodeSerializer instance
Definition at line 31 of file SoapFormat.php.
Member Function Documentation
◆ getMimeType()
| getMimeType | ( | Response | $response = null | ) |
◆ isCached()
| isCached | ( | Response | $response | ) |
◆ getCacheDate()
| getCacheDate | ( | Response | $response | ) |
◆ setSerializer()
| setSerializer | ( | NodeSerializer | $serializer | ) |
Set the NodeSerializer instance to use.
- Parameters
-
$serializer NodeSerializer
Definition at line 60 of file SoapFormat.php.
◆ isSerializedNode()
|
protected |
Reimplemented from HierarchicalFormat.
Definition at line 67 of file SoapFormat.php.
◆ serializeNode()
|
protected |
Reimplemented from HierarchicalFormat.
Definition at line 74 of file SoapFormat.php.
◆ deserializeNode()
|
protected |
Reimplemented from HierarchicalFormat.
Definition at line 82 of file SoapFormat.php.
Member Data Documentation
◆ $serializer
|
protected |
Definition at line 25 of file SoapFormat.php.