I might have misunderstood the question. Re-reading your question you ask "I have a controller A, I extend it using B extends A, and now I want all requests to A go to B"? Then the answer is still no, from the Frameworks point of view it's a different controller. It doesn't use reflection to see if secretly it was an extension of another controller. What it inherit's completely depends on the code in the controller. Fuel doesn't enforce a particular way of coding, so if your views depend on the controller class name, than inheritance probably doesn't work. If you do something else, it probably will.antitoxic wrote on Wednesday 18th of January 2012:Well cheers anyway.
But notes like "That is what extending does, yes." are no way to attract developers.
'module/controller/method' => 'controller/method', either in your app of in your module routes file.zejesago wrote on Wednesday 4th of July 2012:Hey antitoxic, just wondering how you were able to reroute from the module to your app controller. I have the same problem and I can't seem to reroute to my app's User Controller instead of the one in my module.
Harro Verton wrote on Wednesday 4th of July 2012:'module/controller/method' => 'controller/method', either in your app of in your module routes file.zejesago wrote on Wednesday 4th of July 2012:Hey antitoxic, just wondering how you were able to reroute from the module to your app controller. I have the same problem and I can't seem to reroute to my app's User Controller instead of the one in my module.
User_Controller extends \Users\Main_Controller { ... }
It looks like you're new here. If you want to get involved, click one of these buttons!