Exemple #1
0
 public function init()
 {
     // this method is called when the module is being created
     // you may place code here to customize the module or the application
     // import the module-level models and components
     // $this->setImport(array(
     // 	'main.models.*',
     // 	'main.components.*',
     // ));
     $this->controllerNamespace = 'application\\modules\\main\\controllers';
     parent::init();
 }
Exemple #2
0
 protected function init()
 {
     $this->controllerNamespace = 'application\\modules\\test\\controllers';
     parent::init();
 }