[eluser]The Hamburgler[/eluser]
I've got a question about datamapper and php's __autoload function.
At the moment i have a call to __autoload() in config.php which allows me to have controllers extended from different classes.
e.g. some extend Public_Controller and others extend Admin_Controller.
The call to __autoload() enables me to automatically include these extended classes before the controllers are instantiated.
I'm looking to do the same for models, I have a number of classes that extend the datamapper class and I want to have my models extend these classes rather than datamapper directly.
At the moment, __autoload() is never called to preload the extended class when a model is instantiated so I get a Class not found error.
I could add each of these classes to autoload.php but this seems inefficient.