Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public function systemsAction()
- {
- $key = $this->_getParam('key');
- $brand_table = Brand::getInstance();
- $brand = $brand_table->findByKey($key);
- $this->view->brand = $brand;
- $letter = $brand->findParentRow('Dd_Alphabet');
- $system_table = Brand_System::getInstance();
- $this->view->systems = $system_table->findByBrandId($brand->brand_id);
- $this->view->placeholder('title')->set('Системы бренда ' . $brand->name);
- $this->view->headTitle('Системы бренда ' . $brand->name);
- $this->view->headTitle($brand->name);
- $this->view->headTitle($letter->value);
- $page = $this->_helper->navigation()->findBy('label', 'Бренд');
- $page->setLabel($brand->name);
- $page->setParams(array('key' => $brand->key));
- $page = $this->_helper->navigation()->findBy('label', 'Буква бренда');
- $page->setLabel($letter->value);
- $page->setParams(array('alphabet_id' => $letter->alphabet_id));
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement