Class dektrium\user\models\ResendForm

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

ResendForm gets user email address and validates if user has already confirmed his account. If so, it shows error message, otherwise it generates and sends new confirmation token to user.

Public Properties

Hide inherited properties

PropertyTypeDescriptionDefined By
$email string dektrium\user\models\ResendForm

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
$module protected property
protected dektrium\user\Module $module 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 ( )
getUser() public method

public dektrium\user\models\User getUser ( )
resend() public method

Creates new confirmation token and sends it to the user.

public bool resend ( )
rules() public method

public void rules ( )