OEModule\OphCiExamination\controllers\DefaultController::beforeAction PHP Method

beforeAction() protected method

Need split event files.
protected beforeAction ( CAction $action ) : boolean
$action CAction
return boolean
    protected function beforeAction($action)
    {
        Yii::app()->assetManager->registerScriptFile('js/spliteventtype.js', null, null, \AssetManager::OUTPUT_SCREEN);
        $this->jsVars['OE_MODEL_PREFIX'] = 'OEModule_OphCiExamination_models_';
        return parent::beforeAction($action);
    }
DefaultController