function &GetArray() { if (!is_object($this->tree)) { return false; } else { return $this->tree->__toArray(); } }