DojoNodeSerializer.php
120 $curResult[$role][] = $this->serializeNode($relatedNode, [$relation->getThisRole()], $serializedOids);
131 $curResult[$role] = $this->serializeNode($relatedNode, [$relation->getThisRole()], $serializedOids);
deserializeNode($data, Node $parent=null, $role=null)
Definition: DojoNodeSerializer.php:48
isSerializedNode($data)
Definition: DojoNodeSerializer.php:33
NodeSerializer implementations are used to serialize Nodes into an array representation or deserializ...
Definition: NodeSerializer.php:21
NodeValueIterator is used to iterate over all persistent values of a Node (not including relations).
Definition: NodeValueIterator.php:43
IllegalArgumentException signals an exception in method arguments.
Definition: IllegalArgumentException.php:18
deserializeValue(Node $node, $key, $value)
Deserialize a node value.
Definition: AbstractNodeSerializer.php:59
ObjectId is the unique identifier of an object.
Definition: ObjectId.php:28
static parse($oid)
Parse a serialized object id string into an ObjectId instance.
Definition: ObjectId.php:135
getNodeTemplate($oid)
Get a Node instance based on the original values to merge the deserialized values into.
Definition: AbstractNodeSerializer.php:40
NodeSerializerBase is a base class for NodeSerialize implementations.
Definition: AbstractNodeSerializer.php:23
PersistentObjectProxy is proxy for an PersistentObject instance.
Definition: PersistentObjectProxy.php:24
serializeNode($node, $rolesToRefOnly=[], $serializedOids=[])
Definition: DojoNodeSerializer.php:85
DojoNodeSerializer is used to serialize Nodes into the Dojo rest format and vice versa.
Definition: DojoNodeSerializer.php:28