How Call Method Of Another Module In Controller::init ?

hi

i want my new module call specific event as soon as module configured in application but it wont work even with




Yii::app()->getModules('content') , Yii::app()->getModule('content')



fist return array with name and class name

i need to call module function x for example




class contentModule extends CWebModule{

	

	public function dosth()

	{

		//call my event x

	}

          public static function dosthElse()

	{

		//call my event x

	}


}



is that module in Config?

yes it is in admin and i solved problem

i have added




public function configure()

{

}



so because it changes framework order my code faced problem , so i removed this function and in init() function i called my controller

but still another problem::

  • in init() function of CWebmodule how can i call controller in that Module

i tried this but faced some problem like missing $this in Controller




$controller=new ContentController('Content',$this);



but as i told i miss $this in controller , so anybody know how call specific controller and still dont miss $this in controller