wCMF
3.6
|
Public Member Functions | |
deserialize (&$request) | |
serialize (&$response) | |
Formatter is is the single entry point for request/response formatting. It chooses the configured formatter based on the format property of the message by getting the value XXXFormat from the configuration section 'implementation'.
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.Formatter.php.
Formatter::deserialize | ( | & | $request | ) |
Deserialize Request data into objects.
request | A reference to the Request instance |
Definition at line 37 of file class.Formatter.php.
References ObjectFactory\getInstance(), MSG_FORMAT_HTML, and WCMFException\throwEx().
Referenced by HTTPClient\doRemoteCall(), RPCClient\doRemoteCall(), and ActionMapper\processAction().
Formatter::serialize | ( | & | $response | ) |
Serialize Response according to the output format.
response | A reference to the Response instance |
Definition at line 57 of file class.Formatter.php.
References ObjectFactory\getInstance(), and WCMFException\throwEx().
Referenced by Controller\execute().