| 1 | <?php |
||
| 11 | class PasswordResetRequestForm extends Model |
||
| 12 | { |
||
| 13 | public $email; |
||
| 14 | /** |
||
| 15 | * @var type User model |
||
| 16 | */ |
||
| 17 | private $_user = null; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @inheritdoc |
||
| 21 | */ |
||
| 22 | public function rules() |
||
| 37 | |||
| 38 | public function findUser() |
||
| 51 | |||
| 52 | /** |
||
| 53 | * Sends an email with a link, for resetting the password. |
||
| 54 | * |
||
| 55 | * @return bool whether the email was send |
||
| 56 | */ |
||
| 57 | public function resetPassword() |
||
| 70 | } |
||
| 71 |