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

Public Member Functions

getNode ($oid)
 
 getNodes ()
 
- Public Member Functions inherited from IFormat
 deserialize (&$request)
 
 serialize (&$response)
 

Public Attributes

 $_deserializedNodes = null
 

Detailed Description

AbstractFormat maybe used as base class for specialized formats.

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.AbstractFormat.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 28 of file class.AbstractFormat.php.

Member Function Documentation

& AbstractFormat::getNode (   $oid)

Get a node with the given oid to deserialize values from form fields into it. The method ensures that there is only one instance per oid.

Parameters
oidThe oid
Returns
A reference to the Node instance

Definition at line 38 of file class.AbstractFormat.php.

References BUILDDEPTH_SINGLE, PersistenceFacade\getInstance(), PersistenceFacade\getOIDParameter(), and PersistenceFacade\isKnownType().

Referenced by HTMLFormat\deserialize().

+ Here is the call graph for this function:

AbstractFormat::getNodes ( )

Get all serialized nodes

Returns
An array of Node references

Definition at line 66 of file class.AbstractFormat.php.

References $_deserializedNodes.

Referenced by HTMLFormat\deserialize().

Member Data Documentation

AbstractFormat::$_deserializedNodes = null

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

Referenced by getNodes().


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