does someone knows how to use the "new" Zend Autoloader to Load Models ? In the Moment my Configuration looks like this :
application.ini
# Autoloader Namespace
autoloadernamespaces.0 = "Sl_"
Bootstrap.php
/**
* Start Autoloader
*
* @access protected
* @return Zend_Application_Module_Autoloader
*/
protected function _initAutoload()
{
$autoloader = new Zend_Application_Module_Autoloader(array(
'namespace' => 'Sl_',
'basePath' => dirname(__FILE__),
));
return $autoloader;
}
So when I place a Model in /Models/User.php with
class Sl_Model_User{}
and create an new object , everything works like designed. But how can i use the Autoloader to load a Model placed in /Models/Dao/UserDB.php ?
class Dao_UserDB{}