/** * @inheritdoc */ public function actions() { return array_merge(parent::actions(), ['index' => ['class' => 'api\\actions\\entity\\Theatre\\IndexAction', 'modelClass' => $this->modelClass, 'checkAccess' => [$this, 'checkAccess']], 'create' => ['class' => 'api\\actions\\entity\\CreateAction', 'modelClass' => $this->modelClass, 'checkAccess' => [$this, 'checkAccess'], 'scenario' => $this->createScenario], 'update' => ['class' => 'api\\actions\\entity\\UpdateAction', 'modelClass' => $this->modelClass, 'checkAccess' => [$this, 'checkAccess'], 'scenario' => $this->updateScenario], 'import' => ['class' => 'api\\actions\\entity\\Theatre\\TheatreImportAction', 'modelClass' => $this->modelClass, 'checkAccess' => [$this, 'checkAccess']]]); }
/** * @inheritdoc */ public function actions() { return array_merge(parent::actions(), ['import' => ['class' => 'api\\actions\\entity\\MovieTheatreMapImportAction', 'modelClass' => $this->modelClass, 'checkAccess' => [$this, 'checkAccess']]]); }