PHP Class common\services\TweetService

Inheritance: extends PostService
Afficher le fichier Open project: iiyii/getyii Class Usage Examples

Méthodes publiques

Méthode Description
excellent ( Topic $topic ) 加精华
revoke ( Topic $topic ) 撤销帖子
userDoAction ( $id, $action )

Method Details

excellent() public static méthode

加精华
public static excellent ( Topic $topic )
$topic frontend\modules\topic\models\Topic

revoke() public static méthode

撤销帖子
public static revoke ( Topic $topic )
$topic frontend\modules\topic\models\Topic

userDoAction() public méthode

public userDoAction ( $id, $action )