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(); }
protected function init() { $this->controllerNamespace = 'application\\modules\\test\\controllers'; parent::init(); }