public function addTovarGiftAction() { $this->view->breadcrumbs = array(array('url' => '/', 'title' => 'Главная'), array('url' => '/market/', 'title' => 'Маркет'), array('url' => '', 'title' => 'Новое объявление')); $vMarket = new Market($this->context); $this->view->setVar('block_cat_option', $vMarket->getCategoriesOptHTML()); $this->view->generate(); }