Welcome Guest, Not a member yet? Register   Sign In
class include
#5

[eluser]xinq88[/eluser]
Here I am again with a question.

Here is the scenario:

I want to create a Controller called MY_Controller extending Controller, so far no problem for me.
But then I want to extend the MY_Controller by 'AnotherController' so. This is not all, at last I want to extend the 'AnotherController' controller.

Code:
class AnotherController extends MY_Controller {
}

class AnotherController2 extends AnotherController {
}

But this: AnotherController2 extends AnotherController
doesn't work, the application can't find the AnotherController class (It does find the MY_Controller class though).

Or maybe I put the files in the wrong dir?
I have them in application/controller/


Messages In This Thread
class include - by El Forum - 09-23-2008, 12:47 PM
class include - by El Forum - 09-24-2008, 11:14 AM
class include - by El Forum - 09-24-2008, 11:20 AM
class include - by El Forum - 09-24-2008, 12:56 PM
class include - by El Forum - 10-03-2008, 11:26 AM
class include - by El Forum - 10-05-2008, 07:02 AM



Theme © iAndrew 2016 - Forum software by © MyBB