/** * @param Open_Gallery_Model_Category $category * @return string */ public function getCategoryUrl(Open_Gallery_Model_Category $category) { return $this->getUrl('gallery/category/view', array('id' => $category->getId())); }
/** * @param Open_Gallery_Model_Category $category * @return $this */ public function assignChild(Open_Gallery_Model_Category &$category) { $this->_children[$category->getId()] = $category; return $this; }