public function contactsAction() { $pageHelper = new PageHelper(); $pageResult = $pageHelper->pageBySlug('contacts'); if (!$pageResult) { throw new Exception("Page 'contacts' not found"); } $this->helper->title()->append($pageResult->meta_title); $this->helper->meta()->set('description', $pageResult->meta_description); $this->helper->meta()->set('keywords', $pageResult->meta_keywords); $this->helper->menu->setActive('contacts'); $this->view->text = $pageResult->text; }