Пример #1
0
 function asArray()
 {
     $data = parent::asArray();
     // remove some fields
     unset($data['email']);
     unset($data['verificationKey']);
     unset($data['authSecret']);
     unset($data['password']);
     unset($data['passwordResetCode']);
     return $data;
 }
Пример #2
0
 function asArray()
 {
     $data = parent::asArray();
     // remove some fields
     return $data;
 }