PHP Class frontend\modules\topic\controllers\DefaultController

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

Méthodes publiques

Свойство Type Description
$sorts

Méthodes publiques

Méthode Description
actionCreate ( ) : mixed 新建话题
actionDelete ( $id ) : Response 伪删除
actionExcellent ( $id ) : Response 加精华
actionIndex ( ) : mixed 话题列表
actionRevoke ( $id ) : Response 撤消删除
actionSearch ( )
actionUpdate ( integer $id ) : string | Response 修改自己的话题
actionView ( integer $id ) : mixed 话题详细页
behaviors ( )

Method Details

actionCreate() public méthode

新建话题
public actionCreate ( ) : mixed
Résultat mixed

actionDelete() public méthode

伪删除
public actionDelete ( $id ) : Response
$id
Résultat yii\web\Response

actionExcellent() public méthode

加精华
public actionExcellent ( $id ) : Response
$id
Résultat yii\web\Response

actionIndex() public méthode

话题列表
public actionIndex ( ) : mixed
Résultat mixed

actionRevoke() public méthode

撤消删除
public actionRevoke ( $id ) : Response
$id
Résultat yii\web\Response

actionSearch() public méthode

public actionSearch ( )

actionUpdate() public méthode

修改自己的话题
public actionUpdate ( integer $id ) : string | Response
$id integer
Résultat string | yii\web\Response

actionView() public méthode

话题详细页
public actionView ( integer $id ) : mixed
$id integer
Résultat mixed

behaviors() public méthode

public behaviors ( )

Property Details

$sorts public_oe property

public $sorts