Ejemplo n.º 1
0
 public function init()
 {
     parent::init();
     //find workflow by id
     $workflowId = app()->request->getParam('workflow_id', null);
     if ($workflowId !== null) {
         $this->setWorkflow(CPropertyValue::ensureInteger($workflowId));
     }
 }
Ejemplo n.º 2
0
 public function init()
 {
     parent::init();
     if (app()->theme == null) {
         //            if (Application::param('ADMIN_THEME') !== null)
         //                Yii::app()->theme = Application::param('ADMIN_THEME');
         //            else
         Yii::app()->theme = 'indition';
     }
 }
Ejemplo n.º 3
0
 public function __construct($id, $module)
 {
     parent::__construct($id, $module);
     $this->auth = Yii::app()->authManager;
 }
Ejemplo n.º 4
0
 public function __construct($id, $module = NULL)
 {
     parent::__construct($id, $module);
     //Yii::app()->layout = 'site';
 }