示例#1
0
 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);
     }
 }
示例#2
0
 function BxNewsTemplate(&$oConfig, &$oDb)
 {
     parent::BxDolTextTemplate($oConfig, $oDb);
     $this->sCssPrefix = 'news';
 }
示例#3
0
 function BxArlTemplate(&$oConfig, &$oDb)
 {
     parent::BxDolTextTemplate($oConfig, $oDb);
     $this->sCssPrefix = 'arl';
 }
示例#4
0
 function __construct(&$oConfig, &$oDb)
 {
     parent::__construct($oConfig, $oDb);
     $this->sCssPrefix = 'arl';
 }