Kendall Bennett wrote:
I think you need to set the namespace to 'Default', not ''?

Matthew suggested this in an earlier thread:
$loader = new Zend_Application_Module_Autoloader(array(
     'basePath'  => APPLICATION_PATH,
     'namespace' => '', // no resource namespace
));

I think this lets the Default namespace be the same as the application namespace.

-----

15 minutes after posting I found my error.

While trying all the permutations of filenames and classnames I screwed up the right one with a typo :(((

As for JDeBord's experience I have to concur. Once you get your "head around it" the autoloader is simply elegant. Custom code just falls into place when placed and named correctly.


To all, sorry for the noise.
To Kendal, thanks for your help.

Mike Wright :m)

Reply via email to