init() public method

Generate unique tag for page. Attach panels, log watcher. Register scripts for printing debug panel.
public init ( )
Exemplo n.º 1
0
 public function init()
 {
     if ($this->enabled) {
         $this->enabled = Yii::app()->user->checkAccess(DaWebUser::ROLE_DEV);
     }
     parent::init();
 }