public function seeCategoryAction() { // Set layout $this->_helper->layout->setLayout('kebudayaan'); // Param $categoryId = $this->_getParam('id'); // Model $categoryDb = new Model_DbTable_Category(); // Data $category = $categoryDb->getAllWithDescByIdLang($categoryId, $this->_languageId); $subCategories = $categoryDb->getCategoryChildList($categoryId, $this->_languageId); // View $this->view->category = $category; $this->view->subCategories = $subCategories; }
public function seeCategoryAction() { // Set layout $this->_helper->layout->setLayout('kebudayaan'); // Param $categoryId = $this->_getParam('id'); // Model $categoryDb = new Model_DbTable_Category(); // Data $category = $categoryDb->getAllWithDescByIdLang($categoryId, $this->_languageId); $subCategories = $categoryDb->getCategoryChildList($categoryId, $this->_languageId); // View $this->view->category = $category; $this->view->headTitle()->prepend($category['name']); $this->view->subCategories = $subCategories; $this->view->langId = $this->_languageId; array_unshift($this->_meta, $category['name'], "kategori kebudayaan", "kategori budaya"); $this->view->headMeta()->appendName('keywords', join(', ', $this->_meta)); $this->view->headMeta()->appendName('description', "Kebudayaan Indonesia - Laman referensi kebudayaan Indonesia. Turut mewujudkan bangsa Indonesia yang cerdas dan berbudaya"); }