[eluser]FinalFrag[/eluser]
Well, the title says it all actually...
I have made a library like this:
Code:
class MY_Controller extends Controller {
function MY_Controller() {
parent::Controller();
}
function getMyList() {
// do stuff here
}
}
I should be able to do this in my controllers now:
Code:
class Home extend Controller {
function Home() {
parent::Controller();
$this->getMyList();
// etc...
}
}
Or am I wrong? Should I extend 'Controller' or 'MY_Controller'?