コード例 #1
0
ファイル: QueuesController.php プロジェクト: uzerpllp/uzerp
 public function index()
 {
     $this->view->set('clickaction', 'view');
     parent::index(new TicketQueueCollection($this->_templateobject));
     $sidebar = new SidebarController($this->view);
     $sidebar->addList('Actions', array('new' => array('link' => array('modules' => $this->_modules, 'controller' => $this->name, 'action' => 'new'), 'tag' => 'New Queue')));
     $this->view->register('sidebar', $sidebar);
     $this->view->set('sidebar', $sidebar);
 }
コード例 #2
0
 public function index()
 {
     $errors = array();
     //		$this->setSearch('TicketsSearch', 'useDefault');
     parent::index(new TicketConfigurationCollection($this->_templateobject));
     $this->view->set('clickaction', 'view');
     $sidebar = new SidebarController($this->view);
     $sidebar->addList('Actions', array('new' => array('link' => array('modules' => $this->_modules, 'controller' => $this->name, 'action' => 'new'), 'tag' => 'New Configuration')));
     $this->view->register('sidebar', $sidebar);
     $this->view->set('sidebar', $sidebar);
 }