Exemplo n.º 1
0
Arquivo: User.php Projeto: hung5s/yap
 public function beforeValidate()
 {
     $this->email = strtolower($this->email);
     return parent::beforeValidate();
 }