I've run this code
Zend_Loader::loadClass("Admin_Models_DbTable_News");
and my application has this folder structure
Why do I get this:
I've run this code
Zend_Loader::loadClass("Admin_Models_DbTable_News");
and my application has this folder structure
Why do I get this:
Zend Framework ships with a concrete implementation of Zend_Loader_Autoloader_Resource that contains resource type mappings that cover the default recommended directory structure for Zend Framework MVC applications.
This loader, Zend_Application_Module_Autoloader, comes with the following mappings:
forms/ => Form
models/ => Model
DbTable/ => Model_DbTable
mappers/ => Model_Mapper
plugins/ => Plugin
services/ => Service
views/
helpers => View_Helper
filters => View_Filter
Given your example, your class should be called "Admin_Model_DbTable_News". Note that the "s" is left out. This class should be put in application/modules/admin/models/DbTable/News.php