Class yeesoft\comment\controllers\DefaultController

Inheritanceyeesoft\comment\controllers\DefaultController » yeesoft\controllers\admin\BaseController » yeesoft\controllers\BaseController » yii\web\Controller

CommentController implements the CRUD actions for Post model.

Protected Properties

Hide inherited properties

PropertyTypeDescriptionDefined By
$_implementedActions array yeesoft\controllers\admin\BaseController

Protected Methods

Hide inherited methods

MethodDescriptionDefined By
findModel() Finds the model based on its primary key value. yeesoft\controllers\admin\BaseController
getRedirectPage() yeesoft\comment\controllers\DefaultController
renderIsAjax() Render ajax or usual depends on request yeesoft\controllers\BaseController

Property Details

$disabledActions public property
public $disabledActions = ['create''view']
$modelClass public property
public $modelClass 'yeesoft\comments\models\Comment'
$modelSearchClass public property
public $modelSearchClass 'yeesoft\comment\models\search\CommentSearch'

Method Details

actionBulkSpam() public method

Mark as spam all selected grid items

public void actionBulkSpam ( )
actionBulkTrash() public method

Move to trash all selected grid items

public void actionBulkTrash ( )
getRedirectPage() protected method

protected void getRedirectPage ( $action, $model null )
$action
$model