Hi, I am new to zend framework. I have created "models" folder in application directory. Inside models folder I created a class Application_Models_Albums which extends Zend_Db_Table_Abstract.
Now when I use the following code in IndexController. I get error:
$albums = new Application_Models_Albums(); $this->view->albums = $albums->fetchAll();
Error: Fatal error: Class 'Application_Models_Albums' not found in H:\Documents\IIS Server Root\localhost\learning\zf1\application\controllers\IndexController.php on line 13
Please help. How can I load models in zend framework?