public function __construct($nModule = COOLXIU_TYPE_THEMES) { parent::__construct(); $this->strType = 'themes'; $this->bHavePaid = true; $this->_nModule = $nModule; }
protected function _resetRatio() { parent::_resetRatio(); if ($this->_nWidth == 960 && $this->_nHeight == 800 || $this->_nWidth == 960 && $this->_nHeight == 854) { $this->_nWidth = 1080; $this->_nHeight = 960; } if ($this->_nWidth == 1440 && $this->_nHeight == 1280 || $this->_nWidth == 2400 && $this->_nHeight == 1920) { $this->_nWidth = 2160; $this->_nHeight = 1920; } }
public function __construct() { parent::__construct(); $this->strType = 'lockscreens'; $this->bHavePaid = true; }
public function __construct() { parent::__construct(); $this->strType = 'alarm'; }
private function _getWebProtocol(CoolShow $coolshow, $strSql, $strCountSql) { $rows = $this->_getDb()->getCoolShow($strSql); if ($rows === false) { Log::write('CoolShowSearch::_getWebProtocol():getCoolShow() failed, SQL:' . $strSql, 'log'); return false; } $arrProtocol = $coolshow->getWebProtocol($rows); if ($arrProtocol === false) { Log::write('CoolShowSearch::_getWebProtocol():getWebProtocol() failed', 'log'); return false; } $count = $this->_getDb()->getCoolShowCount($strCountSql); if ($count === false) { Log::write('CoolShowSearch::_getWebProtocol():getCoolShowCount() failed, SQL:' . $strCountSql, 'log'); return false; } $result = array('total_number' => $count, 'ret_number' => count($arrProtocol), $coolshow->strType => $arrProtocol); return $result; }
public function __construct() { parent::__construct(); $this->strType = 'fonts'; $this->bHavePaid = true; }
public function __construct() { parent::__construct(); }