PHP Class common\services\TweetService

Inheritance: extends PostService
Mostrar archivo Open project: iiyii/getyii Class Usage Examples

Public Methods

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

Method Details

excellent() public static method

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

revoke() public static method

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

userDoAction() public method

public userDoAction ( $id, $action )