Class app\models\SettingsForm
Inheritance | app\models\SettingsForm » dektrium\user\models\SettingsForm |
---|---|
Uses Traits | dektrium\user\traits\ModuleTrait |
SettingsForm gets user's username, email and password and changes them.
Public Properties
Protected Properties
Property | Type | Description | Defined By |
---|---|---|---|
$mailer | \dektrium\user\Mailer | app\models\SettingsForm |
Public Methods
Method | Description | Defined By |
---|---|---|
attributeLabels() | app\models\SettingsForm | |
formName() | app\models\SettingsForm | |
getUser() | app\models\SettingsForm | |
rules() | app\models\SettingsForm | |
save() | Guarda la nueva configuración de la cuenta. | app\models\SettingsForm |
Protected Methods
Method | Description | Defined By |
---|---|---|
defaultEmailChange() | Manda un mensaje de confirmación al email del usuario con un link para confirmar el cambio de email Sends a confirmation message to user's email address with link to confirm changing of email. | app\models\SettingsForm |
insecureEmailChange() | Cambia la dirección de correo electrónico del usuario sin ninguna confirmación | app\models\SettingsForm |
secureEmailChange() | Sends a confirmation message to both old and new email addresses with link to confirm changing of email. | app\models\SettingsForm |
Property Details
Method Details
public void attributeLabels ( ) |
Manda un mensaje de confirmación al email del usuario con un link para confirmar el cambio de email Sends a confirmation message to user's email address with link to confirm changing of email.
protected void defaultEmailChange ( ) |
public void formName ( ) |
public app\models\User getUser ( ) |
Cambia la dirección de correo electrónico del usuario sin ninguna confirmación
protected void insecureEmailChange ( ) |
public void rules ( ) |
Guarda la nueva configuración de la cuenta.
public boolean save ( ) |
Sends a confirmation message to both old and new email addresses with link to confirm changing of email.
protected void secureEmailChange ( ) | ||
throws | \yii\base\InvalidConfigException |
---|