I have basic zend framework installation. I create new db table models/tables/User.php
<?php
require_once 'Zend/Db/Table/Abstract.php';
class UserTable extends Zend_Db_Table_Abstract
{
protected $_name = 'user';
}
And later in IndexController I make a call to table:
public function indexAction()
{
$userTable = new UserTable();
}
But I get fatal error: Fatal error: Class 'UserTable' not found. What I do wrong ?
Your help would be appreciated.