Class yeesoft\menu\controllers\DefaultController

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

MenuController 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\menu\controllers\DefaultController
renderIsAjax() Render ajax or usual depends on request yeesoft\controllers\BaseController

Property Details

$disabledActions public property
public $disabledActions = ['view''bulk-activate''bulk-deactivate''toggle-attribute']
$modelClass public property
public $modelClass 'yeesoft\models\Menu'
$modelLinkSearchClass public property
public $modelLinkSearchClass 'yeesoft\menu\models\search\SearchMenuLink'
$modelSearchClass public property
public $modelSearchClass 'yeesoft\menu\models\search\SearchMenu'

Method Details

actionIndex() public method

Lists all models.

public mixed actionIndex ( )
actionSaveOrders() public method

public void actionSaveOrders ( )
behaviors() public method

public void behaviors ( )
getRedirectPage() protected method

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