Ejemplo n.º 1
0
 public function __construct($id = NULL, $name = NULL, $alliance_id = NULL, $race = NULL)
 {
     $this->id = $id;
     $this->name = $name;
     $this->alliance = Alliance::dbGet($alliance_id);
     $this->race = $race;
     $this->artefacts = Artefact::dbGet($this->{$id});
 }
Ejemplo n.º 2
0
 public function getExtension()
 {
     return \Artefact::getInstance();
 }