/** * Return object path (location of the object) * * @param void * @return string */ function getObjectPath() { $f = $this->getParent(); if (is_null($f)) { $path = parent::getObjectPath(); } else { $path = $f->getObjectPath(); } $path[] = $this->getObjectName(); return $path; }