Class humhub\modules\user\models\forms\AccountRecoverPassword
Inheritance | humhub\modules\user\models\forms\AccountRecoverPassword » yii\base\Model |
---|---|
Available since version | 0.5 |
Public Properties
Property | Type | Description | Defined By |
---|---|---|---|
humhub\modules\user\models\forms\AccountRecoverPassword | |||
$verifyCode | humhub\modules\user\models\forms\AccountRecoverPassword |
Public Methods
Method | Description | Defined By |
---|---|---|
attributeLabels() | Declares customized attribute labels. | humhub\modules\user\models\forms\AccountRecoverPassword |
canRecoverPassword() | Checks if we can recover users password. | humhub\modules\user\models\forms\AccountRecoverPassword |
recover() | Sends this user a new password by E-Mail | humhub\modules\user\models\forms\AccountRecoverPassword |
rules() | Declares the validation rules. | humhub\modules\user\models\forms\AccountRecoverPassword |
Property Details
Method Details
Declares customized attribute labels.
If not declared here, an attribute would have a label that is the same as its name with the first letter in upper case.
public void attributeLabels ( ) |
Checks if we can recover users password.
This may not possible on e.g. LDAP accounts.
public void canRecoverPassword ( $attribute, $params ) | ||
$attribute | ||
$params |
Sends this user a new password by E-Mail
public void recover ( ) |
Declares the validation rules.
public void rules ( ) |