public function getParent() { if ($this->parent === null) { $this->setParent(Asset::getById($this->getParentId())); } return $this->parent; }