protected function _updatePaginate($aParams) { switch ($aParams['sample_type']) { case 'owner': $this->oPaginate->setCount($this->_oDb->getCount($aParams)); $this->oPaginate->setOnChangePage($this->_oConfig->getJsObject() . '.changePage({start}, {per_page}, \'' . $aParams['sample_type'] . '\', \'' . urlencode(serialize($aParams['sample_params'])) . '\')'); break; default: parent::_updatePaginate($aParams); } }
function BxNewsTemplate(&$oConfig, &$oDb) { parent::BxDolTextTemplate($oConfig, $oDb); $this->sCssPrefix = 'news'; }
function BxArlTemplate(&$oConfig, &$oDb) { parent::BxDolTextTemplate($oConfig, $oDb); $this->sCssPrefix = 'arl'; }
function __construct(&$oConfig, &$oDb) { parent::__construct($oConfig, $oDb); $this->sCssPrefix = 'arl'; }