Class yeesoft\auth\models\forms\SignupForm

Inheritanceyeesoft\auth\models\forms\SignupForm » yii\base\Model

Public Methods

Hide inherited methods

MethodDescriptionDefined By
attributeLabels() yeesoft\auth\models\forms\SignupForm
checkConfirmationToken() Check received confirmation token and if user found - activate it, set username, roles and log him in yeesoft\auth\models\forms\SignupForm
purgeXSS() Remove possible XSS stuff yeesoft\auth\models\forms\SignupForm
rules() yeesoft\auth\models\forms\SignupForm
signup() yeesoft\auth\models\forms\SignupForm

Property Details

$captcha public property
public $captcha null
$email public property
public $email null
$password public property
public $password null
$repeat_password public property
public $repeat_password null
$username public property
public $username null

Method Details

attributeLabels() public method

public array attributeLabels ( )
checkConfirmationToken() public method

Check received confirmation token and if user found - activate it, set username, roles and log him in

public bool|yeesoft\models\User checkConfirmationToken ( $token )
$token string
purgeXSS() public method

Remove possible XSS stuff

public void purgeXSS ( $attribute )
$attribute
rules() public method

public void rules ( )
sendConfirmationEmail() protected method

protected bool sendConfirmationEmail ( $user )
$user yeesoft\models\User
signup() public method

public bool|yeesoft\models\User signup ( $performValidation true )
$performValidation bool