public function getLibrary() { if (!$this->getLibraryId()) { $this->_findLibraryId(); } return parent::getLibrary(); }