Esempio n. 1
0
 public function __construct()
 {
     parent::__construct();
     $limit = $this->app->getUserStateFromRequest('com_easyblog.users.limit', 'limit', $this->app->getCfg('list_limit'), 'int');
     $limitstart = $this->input->get('limitstart', 0, 'int');
     $this->setState('limit', $limit);
     $this->setState('limitstart', $limitstart);
 }
Esempio n. 2
0
 public function __construct()
 {
     parent::__construct();
     // Get the number of events from database
     $limit = $this->app->getUserStateFromRequest('com_easyblog.pending.limit', 'limit', $this->app->getCfg('list_limit'), 'int');
     $limitstart = $this->input->get('limitstart', 0, 'int');
     $this->setState('limit', $limit);
     $this->setState('limitstart', $limitstart);
 }
Esempio n. 3
0
 function __construct()
 {
     parent::__construct();
     $mainframe = JFactory::getApplication();
     $limit = $mainframe->getUserStateFromRequest('com_easyblog.acls.limit', 'limit', $mainframe->getCfg('list_limit'), 'int');
     $limitstart = JRequest::getVar('limitstart', 0, '', 'int');
     $this->setState('limit', $limit);
     $this->setState('limitstart', $limitstart);
 }
Esempio n. 4
0
 public function __construct()
 {
     parent::__construct();
     $useLimit = $this->config->get('layout_listlength') == 0 ? $this->app->getCfg('list_limit') : $this->config->get('layout_listlength');
     $limit = $this->app->getUserStateFromRequest('com_easyblog.revisions.limit', 'limit', $useLimit, 'int');
     $limitstart = $this->input->get('limitstart', 0, 'int');
     $this->setState('limit', $limit);
     $this->setState('limitstart', $limitstart);
 }
Esempio n. 5
0
 public function __construct()
 {
     parent::__construct();
     $limit = EB::call('Pagination', 'getLimit');
     $limitstart = $this->input->get('limitstart', 0, 'int');
     $limitstart = $limit != 0 ? floor($limitstart / $limit) * $limit : 0;
     $this->setState('limit', $limit);
     $this->setState('limitstart', $limitstart);
 }
Esempio n. 6
0
 public function __construct()
 {
     $this->app = JFactory::getApplication();
     parent::__construct();
     $limit = $this->app->getUserStateFromRequest('com_easyblog.fields.limit', 'limit', $this->app->getCfg('list_limit'), 'int');
     $limitstart = JRequest::getVar('limitstart', 0, '', 'int');
     $this->setState('limit', $limit);
     $this->setState('limitstart', $limitstart);
 }
Esempio n. 7
0
 public function __construct()
 {
     parent::__construct();
     $limit = $this->app->getCfg('list_limit') == 0 ? 5 : $this->app->getCfg('list_limit');
     $limitstart = $this->input->get('limitstart', 0, 'int');
     // In case limit has been changed, adjust it
     $limitstart = (int) ($limit != 0 ? floor($limitstart / $limit) * $limit : 0);
     $this->setState('limit', $limit);
     $this->setState('limitstart', $limitstart);
 }
Esempio n. 8
0
 public function __construct()
 {
     parent::__construct();
     $limit = $this->app->getUserStateFromRequest('com_easyblog.subscriptions.limit', 'limit', $this->app->getCfg('list_limit'), 'int');
     $limitstart = $this->input->get('limitstart', 0, 'int');
     // In case limit has been changed, adjust it
     $limitstart = $limit != 0 ? floor($limitstart / $limit) * $limit : 0;
     $this->setState('limit', $limit);
     $this->setState('limitstart', $limitstart);
 }
Esempio n. 9
0
 public function __construct()
 {
     parent::__construct();
     $mainframe = JFactory::getApplication();
     //get the number of events from database
     $limit = $mainframe->getUserStateFromRequest('com_easyblog.blogs.limit', 'limit', $mainframe->getCfg('list_limit'), 'int');
     $limitstart = JRequest::getInt('limitstart', 0, '');
     $this->setState('limit', $limit);
     $this->setState('limitstart', $limitstart);
 }
Esempio n. 10
0
 public function __construct()
 {
     parent::__construct();
     $mainframe = JFactory::getApplication();
     $limit = $mainframe->getCfg('list_limit') == 0 ? 5 : $mainframe->getCfg('list_limit');
     $limitstart = JRequest::getInt('limitstart', 0, 'REQUEST');
     // In case limit has been changed, adjust it
     $limitstart = $limit != 0 ? floor($limitstart / $limit) * $limit : 0;
     $this->setState('limit', $limit);
     $this->setState('limitstart', $limitstart);
 }
Esempio n. 11
0
 public function __construct()
 {
     parent::__construct();
     $mainframe = JFactory::getApplication();
     $limit = $this->app->getUserStateFromRequest('com_easyblog.categories.limit', 'limit', $this->app->getCfg('list_limit'), 'int');
     $limitstart = $this->input->get('limitstart', 0, 'int');
     // In case limit has been changed, adjust it
     $limitstart = (int) ($limit != 0 ? floor($limitstart / $limit) * $limit : 0);
     $this->setState('limit', $limit);
     $this->setState('limitstart', $limitstart);
 }
Esempio n. 12
0
 public function __construct()
 {
     parent::__construct();
     $mainframe = JFactory::getApplication();
     $limit = EB::call('Pagination', 'getLimit');
     $limitstart = $this->input->get('limitstart', '0', 'int');
     // In case limit has been changed, adjust it
     $limitstart = (int) ($limit != 0 ? floor($limitstart / $limit) * $limit : 0);
     $this->setState('limit', $limit);
     $this->setState('limitstart', $limitstart);
 }
Esempio n. 13
0
 public function __construct()
 {
     parent::__construct();
     $mainframe = JFactory::getApplication();
     $limit = $mainframe->getCfg('list_limit') == 0 ? 5 : $mainframe->getCfg('list_limit');
     $limitstart = JRequest::getVar('limitstart', 0, 'REQUEST');
     if ($limit != 0) {
         $limitstart = (int) floor($limitstart / $limit * $limit);
     } else {
         $limitstart = 0;
     }
     $this->setState('limit', $limit);
     $this->setState('limitstart', $limitstart);
 }
Esempio n. 14
0
 public function __construct()
 {
     parent::__construct();
     // Get the limit
     $limit = $this->app->getCfg('list_limit') == 0 ? 5 : $this->app->getCfg('list_limit');
     // Get the current limit start
     $limitstart = $this->input->get('limitstart', 0, 'int');
     if ($limit != 0) {
         $limitstart = (int) floor($limitstart / $limit * $limit);
     } else {
         $limitstart = 0;
     }
     $this->setState('limit', $limit);
     $this->setState('limitstart', $limitstart);
 }
Esempio n. 15
0
 public function __construct()
 {
     parent::__construct();
 }
Esempio n. 16
0
 public function __construct($config = array())
 {
     parent::__construct($config);
 }