Class dektrium\user\controllers\SettingsController
| Inheritance | dektrium\user\controllers\SettingsController » yii\web\Controller |
|---|---|
| Uses Traits | dektrium\user\traits\AjaxValidationTrait |
SettingsController manages updating user settings (e.g. profile, email and password).
Public Properties
| Property | Type | Description | Defined By |
|---|---|---|---|
| $defaultAction | dektrium\user\controllers\SettingsController |
Protected Properties
| Property | Type | Description | Defined By |
|---|---|---|---|
| $finder | dektrium\user\Finder | dektrium\user\controllers\SettingsController |
Public Methods
| Method | Description | Defined By |
|---|---|---|
| __construct() | dektrium\user\controllers\SettingsController | |
| actionAccount() | Displays page where user can update account settings (username, email or password). | dektrium\user\controllers\SettingsController |
| actionConfirm() | Attempts changing user's password. | dektrium\user\controllers\SettingsController |
| actionDisconnect() | Disconnects a network account from user. | dektrium\user\controllers\SettingsController |
| actionNetworks() | Displays list of connected network accounts. | dektrium\user\controllers\SettingsController |
| actionProfile() | Shows profile settings form. | dektrium\user\controllers\SettingsController |
| behaviors() | dektrium\user\controllers\SettingsController |
Protected Methods
| Method | Description | Defined By |
|---|---|---|
| performAjaxValidation() | Performs ajax validation. | dektrium\user\traits\AjaxValidationTrait |
Property Details
Method Details
| public void __construct ( $id, $module, dektrium\user\Finder $finder, $config = [] ) | ||
| $id | string | |
| $module | \yii\base\Module | |
| $finder | dektrium\user\Finder | |
| $config | array | |
Displays page where user can update account settings (username, email or password).
| public string|\yii\web\Response actionAccount ( ) |
Attempts changing user's password.
| public string actionConfirm ( $id, $code ) | ||
| $id | int | |
| $code | string | |
| throws | \yii\web\HttpException | |
|---|---|---|
Disconnects a network account from user.
| public \yii\web\Response actionDisconnect ( $id ) | ||
| $id | int | |
| throws | \yii\web\NotFoundHttpException | |
|---|---|---|
| throws | \yii\web\ForbiddenHttpException | |
Displays list of connected network accounts.
| public string actionNetworks ( ) |
Shows profile settings form.
| public string|\yii\web\Response actionProfile ( ) |
| public void behaviors ( ) |