PHP Class frontend\modules\user\controllers\DefaultController

Inheritance: extends common\components\Controller
Afficher le fichier Open project: iiyii/getyii

Méthodes publiques

Méthode Description
actionFavorite ( string $username = '' ) : string 最新收藏
actionIndex ( )
actionLike ( $username ) : string
actionPoint ( $username = '' )
actionPost ( string $username = '' ) : string 最近主题
actionShow ( string $username = '' ) : Response Shows user's profile.

Méthodes protégées

Méthode Description
comment ( $userId )
user ( $username = '' )
userMeta ( $userId, $type, string $targetType = 'topic' ) : ActiveDataProvider

Method Details

actionFavorite() public méthode

最新收藏
public actionFavorite ( string $username = '' ) : string
$username string
Résultat string

actionIndex() public méthode

public actionIndex ( )

actionLike() public méthode

public actionLike ( $username ) : string
$username
Résultat string

actionPoint() public méthode

public actionPoint ( $username = '' )

actionPost() public méthode

最近主题
public actionPost ( string $username = '' ) : string
$username string
Résultat string

actionShow() public méthode

Shows user's profile.
public actionShow ( string $username = '' ) : Response
$username string
Résultat yii\web\Response

comment() protected méthode

protected comment ( $userId )

user() protected méthode

protected user ( $username = '' )

userMeta() protected méthode

protected userMeta ( $userId, $type, string $targetType = 'topic' ) : ActiveDataProvider
$userId
$type
$targetType string
Résultat yii\data\ActiveDataProvider