Class dektrium\user\models\RecoveryForm

Inheritancedektrium\user\models\RecoveryForm » yii\base\Model

Model for collecting data on password recovery.

Constants

Hide inherited constants

ConstantValueDescriptionDefined By
SCENARIO_REQUEST 'request' dektrium\user\models\RecoveryForm
SCENARIO_RESET 'reset' dektrium\user\models\RecoveryForm

Property Details

$email public property
public string $email null
$finder protected property
protected dektrium\user\Finder $finder null
$mailer protected property
protected dektrium\user\Mailer $mailer null
$password public property
public string $password null

Method Details

__construct() public method

public void __construct ( dektrium\user\Mailer $mailer, dektrium\user\Finder $finder, $config = [] )
$mailer dektrium\user\Mailer
$finder dektrium\user\Finder
$config array
attributeLabels() public method

public void attributeLabels ( )
formName() public method

public void formName ( )
resetPassword() public method

Resets user's password.

public bool resetPassword ( dektrium\user\models\Token $token )
$token dektrium\user\models\Token
rules() public method

public void rules ( )
scenarios() public method

public void scenarios ( )
sendRecoveryMessage() public method

Sends recovery message.

public bool sendRecoveryMessage ( )