public function reset() { $this->structure = array(); $this->current =& $this->structure; return $this; }