public function behaviors() {

        return [
            'rbac' => [
                'class' => Yii::$app->cmgCore->getRbacFilterClass(),
                'actions' => [
	                'index' => [ 'permission' => CoreGlobal::PERM_USER ],
	                'update' => [ 'permission' => CoreGlobal::PERM_USER ]
                ]
            ],
            'verbs' => [
                'class' => VerbFilter::className(),
                'actions' => [
                    'index' => [ 'get' ],
                    'update' => [ 'get', 'post' ]
                ]
            ]
        ];
    }
public function behaviors() {

        return [
            'rbac' => [
                'class' => Yii::$app->cmgCore->getRbacFilterClass(),
                'actions' => [
	                'index' => [ 'permission' => CoreGlobal::PERM_USER ],
	                'update' => [ 'permission' => CoreGlobal::PERM_USER ]
                ]
            ],
            'verbs' => [
                'class' => VerbFilter::className(),
                'actions' => [
                    'index' => [ 'get' ],
                    'update' => [ 'get', 'post' ]
                ]
            ]
        ];
    }
public function behaviors ( ) { return [ 'rbac' => [ 'class' => Yii :: $ app -> cmgCore -> getRbacFilterClass ( ) , 'actions' => [ 'index' => [ 'permission' => CoreGlobal :: PERM_USER ] , 'update' => [ 'permission' => CoreGlobal :: PERM_USER ] ] ] , 'verbs' => [ 'class' => VerbFilter :: className ( ) , 'actions' => [ 'index' => [ 'get' ] , 'update' => [ 'get' , 'post' ] ] ] ] ; }
yii\base\Component
yii \ base \ Component