OEModule\PatientTicketing\controllers\AdminController::beforeAction PHP Method

beforeAction() protected method

protected beforeAction ( $action )
    protected function beforeAction($action)
    {
        if (parent::beforeAction($action)) {
            Yii::app()->assetManager->registerScriptFile('js/jquery.jOrgChart.js', $this->assetPathAlias, 12);
            Yii::app()->assetManager->registerCssFile('css/jquery.jOrgChart.css', $this->assetPathAlias, 12);
            return true;
        }
    }