public function indexAction() { $group = $this->getRequest()->getParam('product_group'); $Product = Product::getByGroupId($group); $Group = ProductGroup::getById($group); $this->view->Product = $Product; $this->view->Title = $Group->name; $this->view->headTitle($this->view->Title); }