to partially answer my own question "resources.modules[] =" did work,
not sure what I was doing.
However, it appears only to work if I have a custom module Bootstrap,
is that expected behaviour since its not clear in the docs? Unless I'm
not reading it properly
best wishes,
Si
On 14 Jan 2010, at 12:02, Simon R Jones wrote:
hi,
I'm trying to get the resource autoloader working with Zend_App, my
application.ini has:
resources.frontController.moduleDirectory = APPLICATION_PATH "/
modules"
resources.modules[] =
And I'm expecting that a class called Test_Model_User would map to
modules/test/models/User.php
However, the class cannot be found. Looking at the code (v1.9.5) it
appears that the resource autoloader is only instantiated for a
module if that module has a custom Bootstrap which extends
Zend_Application_Module_Bootstrap. Tried that, still nothing.
Am a little confused, since the docs suggest simply this will do:
resources.modules[] =
Any help appreciated :)
best wishes,
Si