Attach action from module to another controller?


Can I attach the action from one module to controller in another module or controller in main project?

For example:

I have Module: [size=2]/protected/modules/example/ExampleModule.php[/size]

And there is ApiController in: /protected/modules/examples/controllers/ApiController.php

And I want to attach this controller or only actions from this controller to Controller in: /protected/controllers/ApiController.php

Why I want do this?

I want have URLs like: - for users

I don’t want have API from module with URL like:

You can adjust URLs via URL manager instead.