/** * Constructor * * @return void */ protected function _construct() { if ($this->_useFF) { $this->_handler = Mage::getSingleton('factfinder/handler_search'); } parent::_construct(); }
protected function _construct() { parent::_construct(); if ($this->isAjaxPager()) { $this->setTemplate('gomage/navigation/html/pager.phtml'); } else { $this->setTemplate('page/html/pager.phtml'); } }
protected function _construct() { parent::_construct(); $this->_limitVarName = AW_Kbase_Helper_Url::URL_PARAM_NAME_LIMIT; $this->_pageVarName = AW_Kbase_Helper_Url::URL_PARAM_NAME_PAGE; if (($pageLimit = trim(Mage::getStoreConfig('kbase/general/articles_per_page'))) && count($pageLimit = array_filter(explode(',', $pageLimit), array($this, 'noEmptyValues')))) { $this->_availableLimit = array_combine($pageLimit, $pageLimit); } }
/** * Construct the pager and set the limits * */ protected function _construct() { parent::_construct(); $this->setPageVarName('page'); $baseLimit = $this->helper('wordpress')->getWpOption('posts_per_page', 10); $this->setDefaultLimit($baseLimit); $this->setLimit($baseLimit); $this->setAvailableLimit(array($baseLimit => $baseLimit)); $this->setFrameLength(5); }
protected function _construct() { parent::_construct(); $this->setData('show_amounts', true); $this->setData('use_container', true); if (Mage::helper('core')->isModuleEnabled('Ced_CsVendorPanel')) { $this->setTemplate('csmarketplace/html/pager.phtml'); } else { $this->setTemplate('page/html/pager.phtml'); } }
/** * Construct the pager and set the limits * */ protected function _construct() { parent::_construct(); $this->setPageVarName($this->helper('wordpress/router')->getPostPagerVar()); $baseLimit = $this->helper('wordpress')->getWpOption('posts_per_page', 10); $currentLimit = $this->getRequest()->getParam('limit', $baseLimit); if ($currentLimit % $baseLimit !== 0) { $currentLimit = $baseLimit; } $this->setDefaultLimit($baseLimit); $this->setLimit($currentLimit); $this->setAvailableLimit(array($baseLimit => $baseLimit, $baseLimit * 2 => $baseLimit * 2, $baseLimit * 3 => $baseLimit * 3)); }
/** * Define default template and settings */ protected function _construct() { parent::_construct(); $this->setTemplate('catalog/product/list/toolbar/pager.phtml'); }
/** * Init Toolbar * */ protected function _construct() { parent::_construct(); $this->_orderField = AO::getStoreConfig(Mage_Catalog_Model_Config::XML_PATH_LIST_DEFAULT_SORT_BY); $this->_availableOrder = $this->_getConfig()->getAttributeUsedForSortByArray(); switch (AO::getStoreConfig('catalog/frontend/list_mode')) { case 'grid': $this->_availableMode = array('grid' => $this->__('Grid')); break; case 'list': $this->_availableMode = array('list' => $this->__('List')); break; case 'grid-list': $this->_availableMode = array('grid' => $this->__('Grid'), 'list' => $this->__('List')); break; case 'list-grid': $this->_availableMode = array('list' => $this->__('List'), 'grid' => $this->__('Grid')); break; } $this->setTemplate('catalog/product/list/toolbar.phtml'); }
protected function _construct() { parent::_construct(); $this->setTemplate('unirgy/ratings/vendor/pager.phtml'); }
protected function _construct() { parent::_construct(); $this->setTemplate('queldorei/priceslider/slider_pager.phtml'); }
protected function _construct() { parent::_construct(); $this->setTemplate('integernet_attributeoptionpager/pager.phtml'); }
/** * Define default template and settings */ protected function _construct() { parent::_construct(); $this->setTemplate('forum/topics/toolbar/pager.phtml'); }
/** * Init Toolbar * */ protected function _construct() { parent::_construct(); $this->_availableOrder = array('position' => $this->__('Best Value'), 'name' => $this->__('Name'), 'price' => $this->__('Price')); switch (Mage::getStoreConfig('catalog/frontend/list_mode')) { case 'grid': $this->_availableMode = array('grid' => $this->__('Grid')); break; case 'list': $this->_availableMode = array('list' => $this->__('List')); break; case 'grid-list': $this->_availableMode = array('grid' => $this->__('Grid'), 'list' => $this->__('List')); break; case 'list-grid': $this->_availableMode = array('list' => $this->__('List'), 'grid' => $this->__('Grid')); break; } $this->setTemplate('catalog/product/list/toolbar.phtml'); }
protected function _construct() { parent::_construct(); }