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; } }
protected function beforeAction($action) { $this->admin = new Admin(OphInLabResults_Type::model(), $this); $this->admin->setModelDisplayName('Lab Result Type'); return parent::beforeAction($action); }
protected function beforeAction($action) { $this->admin = new Admin(LetterStringGroup::model(), $this); $this->admin->setModelDisplayName('Letter Snippet Group'); return parent::beforeAction($action); }