Class dektrium\user\models\ResendForm
Inheritance | dektrium\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
Property | Type | Description | Defined By |
---|---|---|---|
string | dektrium\user\models\ResendForm |
Protected Properties
Public Methods
Method | Description | Defined By |
---|---|---|
__construct() | dektrium\user\models\ResendForm | |
attributeLabels() | dektrium\user\models\ResendForm | |
formName() | dektrium\user\models\ResendForm | |
getUser() | dektrium\user\models\ResendForm | |
resend() | Creates new confirmation token and sends it to the user. | dektrium\user\models\ResendForm |
rules() | dektrium\user\models\ResendForm |
Property Details
Method Details
public void __construct ( dektrium\user\Mailer $mailer, dektrium\user\Finder $finder, $config = [] ) | ||
$mailer | dektrium\user\Mailer | |
$finder | dektrium\user\Finder | |
$config | array |
public void attributeLabels ( ) |
public void formName ( ) |
public dektrium\user\models\User getUser ( ) |
Creates new confirmation token and sends it to the user.
public bool resend ( ) |
public void rules ( ) |