Пример #1
0
 function _getUserStates()
 {
     $this->filter_order = parent::_getSecureUserState($this->_option . '.' . $this->_context . '.filter_order', 'filter_order', 'name');
     $this->filter_order_Dir = parent::_getSecureUserState($this->_option . '.' . $this->_context . '.filter_order_Dir', 'filter_order_Dir', 'ASC');
     $this->search_name = parent::_getSecureUserState($this->_option . '.' . $this->_context . '.search_name', 'search_name', '');
     $this->filter_router = parent::_getSecureUserState($this->_option . '.' . $this->_context . '.filter_router', 'filter_router', '-1');
     $this->search_prefix = parent::_getSecureUserState($this->_option . '.' . $this->_context . '.search_prefix', 'search_prefix', '');
     $this->filter_skipmenu = parent::_getSecureUserState($this->_option . '.' . $this->_context . '.filter_skipmenu', 'filter_skipmenu', '-1');
     $this->search_name = JString::strtolower($this->search_name);
     $this->search_prefix = JString::strtolower($this->search_prefix);
 }
Пример #2
0
 function _getUserStates()
 {
     $this->filter_order = parent::_getSecureUserState($this->_option . '.' . $this->_context . '.filter_order', 'filter_order', 'url_real');
     $this->filter_order_Dir = parent::_getSecureUserState($this->_option . '.' . $this->_context . '.filter_order_Dir', 'filter_order_Dir', 'ASC');
     $this->search_hits = parent::_getSecureUserState($this->_option . '.' . $this->_context . '.search_hits', 'search_hits', '');
     $this->search_real = parent::_getSecureUserState($this->_option . '.' . $this->_context . '.search_real', 'search_real', '');
     $this->filter_component = parent::_getSecureUserState($this->_option . '.' . $this->_context . '.filter_component', 'filter_component', '');
     $this->filter_lang = parent::_getSecureUserState($this->_option . '.' . $this->_context . '.filter_lang', 'filter_lang', '');
     $this->filter_used = parent::_getSecureUserState($this->_option . '.' . $this->_context . '.filter_used', 'filter_used', '-1');
     $this->search_hits = JString::strtolower($this->search_hits);
     $this->search_real = JString::strtolower($this->search_real);
 }
Пример #3
0
 function _getUserStates()
 {
     $this->filter_order = parent::_getSecureUserState($this->_option . '.' . $this->_context . '.filter_order', 'filter_order', 'url_new');
     $this->filter_order_Dir = parent::_getSecureUserState($this->_option . '.' . $this->_context . '.filter_order_Dir', 'filter_order_Dir', 'ASC');
     $this->type = parent::_getSecureUserState($this->_option . '.' . 'urls.type', 'type', 'moved');
     $this->search_new = parent::_getSecureUserState($this->_option . '.' . $this->_context . '.search_new', 'search_new', '');
     $this->search_old = parent::_getSecureUserState($this->_option . '.' . $this->_context . '.search_old', 'search_old', '');
     $this->filter_published = parent::_getSecureUserState($this->_option . '.' . $this->_context . '.filter_published', 'filter_published', '-1');
     $this->filter_hit_val = parent::_getSecureUserState($this->_option . '.' . $this->_context . '.filter_hit_val', 'filter_hit_val', '0');
     $this->search_hit = parent::_getSecureUserState($this->_option . '.' . $this->_context . '.search_hit', 'search_hit', '');
     $this->filter_date = parent::_getSecureUserState($this->_option . '.' . $this->_context . '.filter_date', 'filter_date', '');
     $this->search_id = parent::_getSecureUserState($this->_option . '.' . $this->_context . '.search_id', 'search_id', '');
     $this->search_new = JString::strtolower($this->search_new);
     $this->search_old = JString::strtolower($this->search_old);
     $this->search_hit = JString::strtolower($this->search_hit);
     $this->search_id = JString::strtolower($this->search_id);
 }
Пример #4
0
 function _getUserStates()
 {
     $this->filter_order = parent::_getSecureUserState($this->_option . '.' . $this->_context . '.filter_order', 'filter_order', 'url_sef');
     $this->filter_order_Dir = parent::_getSecureUserState($this->_option . '.' . $this->_context . '.filter_order_Dir', 'filter_order_Dir', 'ASC');
     $this->type = parent::_getSecureUserState($this->_option . '.' . $this->_context . '.type', 'type', 'all');
     $this->search_url = parent::_getSecureUserState($this->_option . '.' . $this->_context . '.search_url', 'search_url', '');
     $this->filter_component = parent::_getSecureUserState($this->_option . '.' . $this->_context . '.filter_component', 'filter_component', '-1');
     $this->search_title = parent::_getSecureUserState($this->_option . '.' . $this->_context . '.search_title', 'search_title', '');
     $this->filter_title = parent::_getSecureUserState($this->_option . '.' . $this->_context . '.filter_title', 'filter_title', '-1');
     $this->search_desc = parent::_getSecureUserState($this->_option . '.' . $this->_context . '.search_desc', 'search_desc', '');
     $this->filter_desc = parent::_getSecureUserState($this->_option . '.' . $this->_context . '.filter_desc', 'filter_desc', '-1');
     $this->search_key = parent::_getSecureUserState($this->_option . '.' . $this->_context . '.search_key', 'search_key', '');
     $this->filter_key = parent::_getSecureUserState($this->_option . '.' . $this->_context . '.filter_key', 'filter_key', '-1');
     $this->filter_published = parent::_getSecureUserState($this->_option . '.' . $this->_context . '.filter_published', 'filter_published', '-1');
     $this->search_id = parent::_getSecureUserState($this->_option . '.' . $this->_context . '.search_id', 'search_id', '');
     $this->search_url = JString::strtolower($this->search_url);
     $this->search_title = JString::strtolower($this->search_title);
     $this->search_desc = JString::strtolower($this->search_desc);
     $this->search_key = JString::strtolower($this->search_key);
     $this->search_id = JString::strtolower($this->search_id);
 }
Пример #5
0
 function _getUserStates()
 {
     $this->filter_order = parent::_getSecureUserState($this->_option . '.' . $this->_context . '.filter_order', 'filter_order', 'url_sef');
     $this->filter_order_Dir = parent::_getSecureUserState($this->_option . '.' . $this->_context . '.filter_order_Dir', 'filter_order_Dir', 'ASC');
     $this->type = parent::_getSecureUserState($this->_option . '.' . 'urls.type', 'type', 'sef');
     $this->search_sef = parent::_getSecureUserState($this->_option . '.' . $this->_context . '.search_sef', 'search_sef', '');
     $this->search_real = parent::_getSecureUserState($this->_option . '.' . $this->_context . '.search_real', 'search_real', '');
     $this->filter_component = parent::_getSecureUserState($this->_option . '.' . $this->_context . '.filter_component', 'filter_component', '-1');
     $this->filter_lang = parent::_getSecureUserState($this->_option . '.' . $this->_context . '.filter_lang', 'filter_lang', '-1');
     $this->filter_published = parent::_getSecureUserState($this->_option . '.' . $this->_context . '.filter_published', 'filter_published', '-1');
     $this->filter_used = parent::_getSecureUserState($this->_option . '.' . $this->_context . '.filter_used', 'filter_used', '-1');
     $this->filter_locked = parent::_getSecureUserState($this->_option . '.' . $this->_context . '.filter_locked', 'filter_locked', '-1');
     $this->filter_blocked = parent::_getSecureUserState($this->_option . '.' . $this->_context . '.filter_blocked', 'filter_blocked', '-1');
     $this->fromdate = parent::_getSecureUserState($this->_option . '.' . $this->_context . '.fromdate', 'fromdate', '');
     $this->todate = parent::_getSecureUserState($this->_option . '.' . $this->_context . '.todate', 'todate', '');
     $this->filter_date = parent::_getSecureUserState($this->_option . '.' . $this->_context . '.filter_date', 'filter_date', 'c');
     $this->search_hits = parent::_getSecureUserState($this->_option . '.' . $this->_context . '.search_hits', 'search_hits', '');
     $this->search_id = parent::_getSecureUserState($this->_option . '.' . $this->_context . '.search_id', 'search_id', '');
     $this->search_sef = JString::strtolower($this->search_sef);
     $this->search_real = JString::strtolower($this->search_real);
     $this->search_hits = JString::strtolower($this->search_hits);
     $this->search_id = JString::strtolower($this->search_id);
 }