Whats the correct way to autoload from the library folder? What do I invoke
in the bootstrap for version 1.8?
protected function _initAutoload()
{
$moduleLoader = new Zend_Application_Module_Autoloader(array(
'namespace' => '',
'basePath' => APPLICATION_PATH));
return $moduleLoader;
}
I've seen example applications using simple custom libraries but I'm unable
to adapt this to the _initAutoload() method in the bootstrap generated by
zend tool.
/library/Zend autoloads fine.
How would I modify _initAutoload() to load classes under /library/Mylib?
for example I have an "action helper" under
/library/Mylib/Controller/Action/Helper/MyHelper.php
Thanks,
Andy
--
View this message in context:
http://www.nabble.com/library-folder-autoload-tp23499750p23499750.html
Sent from the Zend Framework mailing list archive at Nabble.com.