コード例 #1
0
 public function comissionkaAction($level = 0)
 {
     $vMarket = new Market($this->context);
     $this->view->setVar('block_cat_comission', $vMarket->getCategoriesCommTreeHTML());
     $this->view->setVar('block_last_tovar', $vMarket->getLastTovarHTML($level));
     $this->view->setVar('block_count_tovar', $vMarket->GetCountTovar());
     $this->view->setVar('block_cat_option', $vMarket->getCategoriesOptHTML());
     $this->view->breadcrumbs = array(array('url' => '/', 'title' => 'Главная'), array('url' => '/market/', 'title' => 'Маркет'), array('url' => '../market/comissionka', 'title' => 'Комиссионка'));
     $this->view->generate();
 }