run action

Hi,

in the module I have a component. How to call the controller's method (i.e. actionCreate) from this module?

Yii::app()->controller->methodName();

Thanx, but it is for current controller and I would like run method by component from controller in module where is that component, i.e.

My current controller is SiteController, in view file index I use widget (component) from module. Module have controller to manage him and I would like use controller`s method in component.

Now I have a copy of the necessary methods.

I am not sure if I understand you correctly. It seems weird to me that you would call a controller method from a widget. You may consider creating a new class to include that method. And then in your widget, you can include the new class to use the method.