how to autoload a class in custom directory on module path. My application's structure is like below
application
|_ modules
|_admin
|_api
| |_Core.php
|_elements
|_Dialog.php
i have two custom directory, 'api' and 'elements', when i instantiated an object of that two class i have received error message: 'Fatal error class Admin_Api_Core is not found'. I try with registerNamespace but it not work at all
Zend_Loader_Autoloader::getInstance()->registerNamespace('Admin_');