示例#1
0
 public function __construct()
 {
     parent::__construct();
     $this->allowedFields = $this->fields;
     $this->data = new StdClass();
     $this->initFields();
     Log::add('PlayerModel::Initialized');
 }
示例#2
0
 function __construct($playerID = null)
 {
     parent::__construct();
     if ($playerID != null) {
         //load up player data.
         $this->playerID = $playerID;
         $this->load($playerID);
     }
 }
示例#3
0
文件: RankModel.php 项目: sherdog/wnd
 function __construct()
 {
     parent::__construct();
 }
示例#4
0
文件: SwfModel.php 项目: sherdog/wnd
 function __construct()
 {
     parent::__construct();
     Log::add('SwfModel::Initialized');
 }