wCMF  3.6
 All Classes Namespaces Files Functions Variables Groups Pages
IFormat Class Reference
+ Inheritance diagram for IFormat:

Public Member Functions

 deserialize (&$request)
 
 serialize (&$response)
 

Detailed Description

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.

Id:
class.IFormat.php 1462 2014-02-04 23:52:27Z iherwig
Author
ingo herwig ingo@.nosp@m.wemo.nosp@m.ve.co.nosp@m.m

Definition at line 30 of file class.IFormat.php.

Member Function Documentation

IFormat::deserialize ( $request)

Deserialize Request data from the external representation into Nodes and scalars/arrays.

Parameters
requestA reference to the Request instance

Definition at line 36 of file class.IFormat.php.

References WCMFException\throwEx().

+ Here is the call graph for this function:

IFormat::serialize ( $response)

Serialize Response data according to the external representation.

Parameters
responseA reference to the Response instance

Definition at line 44 of file class.IFormat.php.

References WCMFException\throwEx().

+ Here is the call graph for this function:


The documentation for this class was generated from the following file: