Example #1
0
 public function __construct()
 {
     parent::__construct();
     $this->_task = JRequest::getCmd('task');
     $this->_table = MijosqlHelper::getVar('tbl');
     $this->_query = MijosqlHelper::getVar('qry');
 }
Example #2
0
 function __construct()
 {
     parent::__construct();
     $this->mainframe = JFactory::getApplication();
     $this->option = JRequest::getWord('option');
     // Get the pagination request variables
     $limit = $this->mainframe->getUserStateFromRequest($this->option . '.queries.limit', 'limit', $this->mainframe->getCfg('list_limit'), 'int');
     $limitstart = $this->mainframe->getUserStateFromRequest($this->option . '.queries.limitstart', 'limitstart', 0, 'int');
     // In case limit has been changed, adjust limitstart accordingly
     $limitstart = $limit != 0 ? floor($limitstart / $limit) * $limit : 0;
     $this->setState($this->option . '.queries.limit', $limit);
     $this->setState($this->option . '.queries.limitstart', $limitstart);
     $this->_buildViewQuery();
 }
Example #3
0
 public function __construct()
 {
     parent::__construct();
 }