44 $this->uasort(array($this,
'nodeCompare'));
55 return $node->compareTo($otherNode);
75 $arrayRepresentation =
unserialize($serializedString);
76 if ($arrayRepresentation[
'serializeClassName'] !== get_class($this)) {
77 throw new \TYPO3\CMS\Core\Exception(
'Deserialized object type is not identical!', 1294586647);
88 $arrayRepresentation = array(
89 'serializeClassName' => get_class($this)
91 $iterator = $this->getIterator();
92 while ($iterator->valid()) {
93 $arrayRepresentation[] = $iterator->current()->toArray();
96 return $arrayRepresentation;
106 unset($data[
'serializeClassName']);
107 foreach ($data as $index => $nodeArray) {
109 $this->offsetSet($index, $node);
__construct(array $data=array())
unserialize($serializedString)
static makeInstance($className)
nodeCompare(\TYPO3\CMS\Backend\Tree\TreeNode $node, \TYPO3\CMS\Backend\Tree\TreeNode $otherNode)