无法找到类
憋屈扒瞎 2014-10-28 01:25:58 在model里写了个类如下
class Debut extends Zend_Db_Table{
protected $_name = 'debut';
protected $_id = 'id';
public function getInfos(){
$select = $this->_db->select();
$select->from($this->_name);
$result = $this->_db->fetchAll($select);
return $result;
}
}
在Action里new对象报错
错误信息:Fatal error: Class 'Debut' not found in C:\Users\admin\Zend\workspaces\DefaultWorkspace7\test\application\controllers\TestController.php on line 4
在编译环境里可以找到对应类,请问为啥啊?