コード例 #1
0
ファイル: mailq.php プロジェクト: DanyCan/wisten.github.io
 protected function populateState($ordering = null, $direction = null)
 {
     $app = JFactory::getApplication('administrator');
     $search = $app->getUserStateFromRequest($this->context . '.filter.search', 'filter_search');
     $this->setState('filter.search', $search);
     parent::populateState('created', 'desc');
 }
コード例 #2
0
 protected function populateState($ordering = null, $direction = null)
 {
     $app = JFactory::getApplication('administrator');
     $search = $app->getUserStateFromRequest($this->context . '.filter.search', 'filter_search');
     $this->setState('filter.search', $search);
     $state = $app->getUserStateFromRequest($this->context . '.filter.state', 'filter_state', '', 'string');
     $this->setState('filter.state', $state);
     $object_group = $app->getUserStateFromRequest($this->context . '.filter.object_group', 'filter_object_group', '');
     $this->setState('filter.object_group', $object_group);
     $language = $app->getUserStateFromRequest($this->context . '.filter.language', 'filter_language', '');
     $this->setState('filter.language', $language);
     parent::populateState('js.name', 'asc');
 }
コード例 #3
0
ファイル: comments.php プロジェクト: DanyCan/wisten.github.io
 protected function populateState($ordering = null, $direction = null)
 {
     $app = JFactory::getApplication('administrator');
     $config = JCommentsFactory::getConfig();
     $search = $app->getUserStateFromRequest($this->context . '.filter.search', 'filter_search');
     $this->setState('filter.search', $search);
     $state = $app->getUserStateFromRequest($this->context . '.filter.state', 'filter_state', '', 'string');
     $this->setState('filter.state', $state);
     $object_group = $app->getUserStateFromRequest($this->context . '.filter.object_group', 'filter_object_group', '');
     $this->setState('filter.object_group', $object_group);
     $language = $app->getUserStateFromRequest($this->context . '.filter.language', 'filter_language', '');
     $this->setState('filter.language', $language);
     $this->setState('config.comment_title', $config->getInt('comment_title'));
     parent::populateState('jc.date', 'desc');
 }