public function new_tovar_giftAction() { $tovar = new Tovar($this->context); $this->view->setVar('proba', $tovar->SaveNewTovar()); $vMarket = new Market($this->context); $this->view->setVar('block_cat_comission', $vMarket->getCategoriesCommTreeHTML()); $this->view->breadcrumbs = array(array('url' => '/', 'title' => 'Главная'), array('url' => '/market/', 'title' => 'Маркет'), array('url' => '../market/comissionka', 'title' => 'Дарю/Меняю')); $this->view->generate(); }