Class dektrium\user\controllers\ProfileController

Inheritancedektrium\user\controllers\ProfileController » yii\web\Controller

ProfileController shows users profiles.

Property Details

$finder protected property
protected dektrium\user\Finder $finder null

Method Details

__construct() public method

public void __construct ( $id, $module, dektrium\user\Finder $finder, $config = [] )
$id string
$module \yii\base\Module
$finder dektrium\user\Finder
$config array
actionIndex() public method

Redirects to current user's profile.

public \yii\web\Response actionIndex ( )
actionShow() public method

Shows user's profile.

public \yii\web\Response actionShow ( $id )
$id int
throws \yii\web\NotFoundHttpException
behaviors() public method

public void behaviors ( )