wcmf logo wemove logo

IFormat Class Reference
[Format]

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. More...

Inheritance diagram for IFormat:

Inheritance graph
[legend]

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-2009 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 967 2009-03-25 23:37:08Z iherwig

Author:
ingo herwig <ingo@wemove.com>

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


Member Function Documentation

deserialize ( &$  request  ) 

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

Parameters:
request A reference to the Request instance

Reimplemented in HierarchicalFormat, and HTMLFormat.

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

References WCMFException::throwEx().

Here is the call graph for this function:

serialize ( &$  response  ) 

Serialize Response data according to the external representation.

Parameters:
response A reference to the Response instance

Reimplemented in HierarchicalFormat, and HTMLFormat.

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:

This page generated via doxygen 1.5.8 Mon Mar 30 01:58:43 2009.
Copyright © 2009 wemove digital solutions GmbH.
sourceforge logo