public function __construct() { parent::__construct(); $mainframe = JFactory::getApplication(); $limit = $mainframe->getUserStateFromRequest( 'com_komento.subscribers.limit', 'limit', $mainframe->getCfg('list_limit'), 'int'); $limitstart = $mainframe->getUserStateFromRequest( 'com_komento.subscribers.limitstart', 'limitstart', 0, 'int' ); $this->setState('limit', $limit); $this->setState('limitstart', $limitstart); }
public function __construct() { $this->db = $this->getDBO(); parent::__construct(); }