PHP Class frontend\modules\user\controllers\SettingController

Inheritance: extends common\components\Controller
Mostrar archivo Open project: iiyii/getyii

Public Properties

Property Type Description
$defaultAction

Public Methods

Method Description
actionAccount ( ) : string | Response Displays a single User model.
actionAvatar ( ) : mixed 头像设置
actionDisconnect ( $id ) : Response 解除绑定第三方账号
actionDonate ( ) : mixed 打赏设置
actionNetworks ( ) : mixed 第三方账号绑定
actionProfile ( ) : mixed 修改个人资料
actions ( )
behaviors ( )
connect ( yii\authclient\ClientInterface $client ) : Response 绑定第三方账号
init ( )

Protected Methods

Method Description
performAjaxValidation ( frontend\modules\user\models\AccountForm $model ) Performs ajax validation.

Method Details

actionAccount() public method

Displays a single User model.
public actionAccount ( ) : string | Response
return string | yii\web\Response

actionAvatar() public method

头像设置
public actionAvatar ( ) : mixed
return mixed

actionDisconnect() public method

解除绑定第三方账号
public actionDisconnect ( $id ) : Response
$id
return yii\web\Response

actionDonate() public method

打赏设置
public actionDonate ( ) : mixed
return mixed

actionNetworks() public method

第三方账号绑定
public actionNetworks ( ) : mixed
return mixed

actionProfile() public method

修改个人资料
public actionProfile ( ) : mixed
return mixed

actions() public method

public actions ( )

behaviors() public method

public behaviors ( )

connect() public method

绑定第三方账号
public connect ( yii\authclient\ClientInterface $client ) : Response
$client yii\authclient\ClientInterface
return yii\web\Response

init() public method

public init ( )

performAjaxValidation() protected method

Performs ajax validation.
protected performAjaxValidation ( frontend\modules\user\models\AccountForm $model )
$model frontend\modules\user\models\AccountForm

Property Details

$defaultAction public_oe property

public $defaultAction