DojoNodeSerializer Class Reference

Detailed Description

DojoNodeSerializer is used to serialize Nodes into the Dojo rest format and vice versa.

The format of serialized Nodes is defined in the Dojo documentation (See: http://dojotoolkit.org/reference-guide/1.10/quickstart/rest.html)

Author
ingo herwig ingo@.nosp@m.wemo.nosp@m.ve.co.nosp@m.m

Definition at line 28 of file DojoNodeSerializer.php.

+ Inheritance diagram for DojoNodeSerializer:

Public Member Functions

 isSerializedNode ($data)
 
 deserializeNode ($data, Node $parent=null, $role=null)
 
 serializeNode ($node, $rolesToRefOnly=[], $serializedOids=[])
 
- Public Member Functions inherited from AbstractNodeSerializer
 __construct (PersistenceFacade $persistenceFacade)
 
- Public Member Functions inherited from NodeSerializer
 serializeNode ($node)
 

Additional Inherited Members

- Protected Member Functions inherited from AbstractNodeSerializer
 getNodeTemplate ($oid)
 
 deserializeValue (Node $node, $key, $value)
 
 isMultiValued (Node $node, $role)
 

Member Function Documentation

◆ isSerializedNode()

isSerializedNode (   $data)
See also
NodeSerializer::isSerializedNode

Implements NodeSerializer.

Definition at line 33 of file DojoNodeSerializer.php.

◆ deserializeNode()

deserializeNode (   $data,
Node  $parent = null,
  $role = null 
)
See also
NodeSerializer::deserializeNode

Implements NodeSerializer.

Definition at line 48 of file DojoNodeSerializer.php.

◆ serializeNode()

serializeNode (   $node,
  $rolesToRefOnly = [],
  $serializedOids = [] 
)
See also
NodeSerializer::serializeNode

Definition at line 85 of file DojoNodeSerializer.php.