Class dektrium\user\controllers\ProfileController
| Inheritance | dektrium\user\controllers\ProfileController » yii\web\Controller |
|---|
ProfileController shows users profiles.
Protected Properties
| Property | Type | Description | Defined By |
|---|---|---|---|
| $finder | dektrium\user\Finder | dektrium\user\controllers\ProfileController |
Public Methods
| Method | Description | Defined By |
|---|---|---|
| __construct() | dektrium\user\controllers\ProfileController | |
| actionIndex() | Redirects to current user's profile. | dektrium\user\controllers\ProfileController |
| actionShow() | Shows user's profile. | dektrium\user\controllers\ProfileController |
| behaviors() | dektrium\user\controllers\ProfileController |
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 | |
Redirects to current user's profile.
| public \yii\web\Response actionIndex ( ) |
Shows user's profile.
| public \yii\web\Response actionShow ( $id ) | ||
| $id | int | |
| throws | \yii\web\NotFoundHttpException | |
|---|---|---|
| public void behaviors ( ) |