Class humhub\modules\user\models\forms\AccountRecoverPassword

Inheritancehumhub\modules\user\models\forms\AccountRecoverPassword » yii\base\Model
Available since version0.5

Public Methods

Hide inherited methods

MethodDescriptionDefined 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

$email public property
public $email null
$verifyCode public property
public $verifyCode null

Method Details

attributeLabels() public method

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 ( )
canRecoverPassword() public method

Checks if we can recover users password.

This may not possible on e.g. LDAP accounts.

public void canRecoverPassword ( $attribute, $params )
recover() public method

Sends this user a new password by E-Mail

public void recover ( )
rules() public method

Declares the validation rules.

public void rules ( )