public function __construct($gameuid)
 {
     parent::__construct();
     if ($gameuid <= 0 || empty($gameuid)) {
         $this->throwException("gameuid[{$gameuid}] is error", GameStatusCode::USER_NOT_EXISTS);
     }
     $this->gameuid = $gameuid;
 }
 public function __construct($gameuid)
 {
     parent::__construct();
     if (empty($gameuid) || intval($gameuid) < 1) {
         $this->throwException("gameuid[{$gameuid}] error in item mgr", GameStatusCode::USER_NOT_EXISTS);
     }
     $this->gameuid = $gameuid;
 }
 public function __construct($clanId)
 {
     parent::__construct();
     if ($clanId <= 0 || empty($clanId)) {
         $this->throwException("clanid[{$clanId}] is error", GameStatusCode::USER_NOT_EXISTS);
     }
     $this->{$clanId} = $clanId;
 }
 public function __construct($gameuid)
 {
     parent::__construct();
     if (empty($gameuid) || $gameuid <= 0) {
         $this->throwException("gameuid[{$gameuid}] error", GameStatusCode::USER_NOT_EXISTS);
     }
     $this->gameuid = $gameuid;
     $this->setCacheTime();
     $this->cache_helper = $this->getCacheInstance($this->gameuid);
 }
 public function __construct($gameuid)
 {
     parent::__construct();
     $this->gameuid = $gameuid;
     $this->log = $this->getFromCache($this->getMemKey(), $this->gameuid);
     if ($this->log === false) {
         $this->log = array();
     }
     $this->log_formatter = new EventLogFormatter();
     $this->logger_self = LogFactory::getLogger(array('prefix' => "event_log", 'log_dir' => APP_ROOT . '/log/eventLog/', 'archive' => ILogger::ARCHIVE_YEAR_MONTH, 'log_level' => 1));
 }
 public function __construct()
 {
     parent::__construct();
 }
Esempio n. 7
0
 public function UploadManager()
 {
     parent::ManagerBase();
 }
 public function __construct($gameuid)
 {
     parent::__construct($gameuid);
     $this->gameuid = $gameuid;
     $this->logger_self = LogFactory::getLogger(array('prefix' => "action_log", 'log_dir' => APP_ROOT . '/log/actionLog/', 'archive' => ILogger::ARCHIVE_YEAR_MONTH, 'log_level' => 1));
 }