Lines Matching refs:this
18 $this->head = $head ? : new Node('HEAD');
26 return $this->head;
35 $iterator = $this->getIterator();
56 foreach($this->getIterator() as $node) {
71 $this->head->getChildren(),
118 $this->parent = $parent;
121 $this->data = $data;
122 $this->uid = $uid ? : uniqid(sha1(serialize($data)), true);
123 $this->assureUnique = $assureUnique;
131 $this->uid = $uid;
139 return $this->uid;
147 $child->setParent($this);
148 $this->children[] = $child;
156 $this->children = $children;
164 return $this->children;
172 $this->data = $data;
180 return $this->data;
189 if(true === $this->assureUnique && !self::checkUnique($parent, $this->uid)) {
193 $this->parent = $parent;
218 return $this->parent;
223 return $this->children[$this->index];
231 return $this->index;
236 ++$this->index;
241 $this->index = 0;
246 return array_key_exists($this->index, $this->children);
251 return count($this->children);
256 return !empty($this->children);
261 return new \RecursiveArrayIterator($this->children);