Example #1
0
 protected function commonLogic(&$params = array())
 {
     parent::commonLogic($params);
     $this->filter = Application::getFilter($this->getObjectName());
     $smarty = Application::getSmarty();
     $smarty->assign('filter', $this->filter);
 }
Example #2
0
 protected function beforeListLoad(&$load_params)
 {
     $filter = Application::getFilter('user');
     $filter->set_params($load_params);
     $smarty = Application::getSmarty();
     $smarty->assign('test', 'test');
     $smarty->assign('filter', $filter);
 }