function __construct(XiptModel &$model) { $limit = null; $limitstart = null; $this->initDefaultStates($model, $limit, $limitstart); return parent::__construct($model->getTotal(), $limitstart, $limit); }
function __construct($total, $limitstart, $limit, $perRow = 5) { if ($perRow !== 0) { $this->_perRow = $perRow; } parent::__construct($total, $limitstart, $limit); }
function __construct($total, $limitstart, $limit) { global $mainframe; if ($limit == "") { $limit = $mainframe->getUserStateFromRequest('global.list.limit', 'limit', $mainframe->getCfg('list_limit'), 'int'); } parent::__construct($total, $limitstart, $limit); }
public function __construct($total, $limitstart, $limit, $perRow = 5) { if ((int) $perRow > 1) { $this->_perRow = $perRow; } parent::__construct($total, $limitstart, $limit); // studio42 fix for limit=int $this->setAdditionalUrlParam('limit', $limit); }
function __construct($total, $limitstart, $limit, $prefix = '') { // If out of range, use last page if ($total < (int) $limitstart) $limitstart = intval($total / $limit) * $limit; parent::__construct($total, $limitstart, $limit, $prefix); $this->setDisplay(); if ($limitstart === false) $this->set('pages.current', -1); $this->template = KunenaFactory::getTemplate(); }
/** * Constructor * * @param int $total The total number of items * @param int $limitstart The offset of the item to start at * @param int $limit The number of items to display per page * @param string $prefix The prefix used for request variables * @param string $anchortag The anchor to use for the URLs * @param string $onclick The contents of an optional 'onlick' attribute * @return void * @since 2.0 */ public function __construct($total, $limitstart, $limit, $prefix = '', $anchortag = 'category', $onclick = null) { parent::__construct($total, $limitstart, $limit, $prefix); $this->anchortag = ''; if ($anchortag) { $this->anchortag = JHtml::_('joomgallery.anchor', $anchortag); } if ($onclick) { $this->onclick = '" onclick="' . $onclick; } }
function __construct($total, $limitstart, $limit, $perRow = 3) { if ($perRow !== 0) { $this->_perRow = $perRow; } $this->prefix = 'com_customfilters'; parent::__construct($total, $limitstart, $limit); //ItemId $module = JModuleHelper::getModule('mod_cf_filtering'); $params = new JRegistry(); $params->loadString($module->params); $itemId = $params->get('cf_itemid', ''); if (!empty($itemId)) { $this->setAdditionalUrlParam('Itemid', $itemId); } }
public function __construct($total, $limitstart, $limit, $prefix = '') { parent::__construct($total, $limitstart, $limit, $prefix); }
function __construct($total, $limitstart, $limit, $url = "") { //echo $url; parent::__construct($total, $limitstart, $limit); $this->url = $url; }
function mosPageNav( $total, $limitstart, $limit ) { parent::__construct($total, $limitstart, $limit); }
function __construct($total, $limitstart, $limit) { if ($limit == 0 || $limit > 100) { $limit = 100; } parent::__construct($total, $limitstart, $limit); }
function __construct($total, $limitstart, $limit) { $this->skinstyle = FST_Settings::get('skin_style'); parent::__construct($total, $limitstart, $limit); }
public function __construct($total, $limitstart, $limit) { if ($limitstart > $total) { $limitstart = 0; } parent::__construct($total, $limitstart, $limit); }