Esempio n. 1
0
 public function __construct()
 {
     parent::__construct();
     $this->allowedFields = $this->fields;
     $this->data = new StdClass();
     $this->initFields();
     Log::add('PlayerModel::Initialized');
 }
Esempio n. 2
0
 function __construct($playerID = null)
 {
     parent::__construct();
     if ($playerID != null) {
         //load up player data.
         $this->playerID = $playerID;
         $this->load($playerID);
     }
 }
Esempio n. 3
0
 function __construct()
 {
     parent::__construct();
 }
Esempio n. 4
0
 function __construct()
 {
     parent::__construct();
     Log::add('SwfModel::Initialized');
 }