app\controllers\CashbookController::behaviors PHP Method

behaviors() public method

public behaviors ( )
    public function behaviors()
    {
        return ['access' => ['class' => AccessControl::classname(), 'only' => ['index', 'create', 'update', 'delete', 'view', 'target', 'accomplishment', 'overview', 'performance'], 'rules' => [['allow' => true, 'roles' => ['@']]]], 'verbs' => ['class' => VerbFilter::className(), 'actions' => ['delete' => ['post']]]];
    }