wCMF
3.6
|
Public Member Functions | |
deserialize (&$request) | |
serialize (&$response) | |
IFormat defines the interface for all formatter classes. Formatter classes are used to map external data representations like JSON, XML/SOAP or HTML to internal ones. All data values are supposed to be scalar or array values except for Nodes, for which each external representation defines a special notation.
wCMF - wemove Content Management Framework Copyright (C) 2005-2014 wemove digital solutions GmbH
Licensed under the terms of any of the following licenses at your choice:
See the license.txt file distributed with this work for additional information.
Definition at line 30 of file class.IFormat.php.
IFormat::deserialize | ( | & | $request | ) |
Deserialize Request data from the external representation into Nodes and scalars/arrays.
request | A reference to the Request instance |
Definition at line 36 of file class.IFormat.php.
References WCMFException\throwEx().
IFormat::serialize | ( | & | $response | ) |
Serialize Response data according to the external representation.
response | A reference to the Response instance |
Definition at line 44 of file class.IFormat.php.
References WCMFException\throwEx().