Exemplo n.º 1
0
Arquivo: Player.php Projeto: jager/cms
 public function updatePlayer($aData)
 {
     $this->id = $aData['id'];
     $this->fname = Webbers_Normalize::Name($aData['fname']);
     $this->sname = Webbers_Normalize::Name($aData['sname']);
     $this->mailadr = Webbers_Normalize::Email($aData['mailadr']);
     $this->gender = $aData['gender'];
     $this->save();
 }