I am beggining to learn zend framework.
So i try to create a simple form but it does not work.At my controller there is the error class Form_MyTest not found
I made the MyTest.php at aplication/forms and here the form class has the name
class Form_MyTest extends Zend_Form
and at bootstrap.php I has this code,what is wrong,I use xampp
class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
{
protected function _iniAutoLoad()
{
$autoLoader = Zend_Loader_Autoloader::getInstance();
//$autoLoader->registerNamespace(array( ));
$resourceLoader = new Zend_Loader_Autoloader_Resource(array(
'basePath' => APPLICATION_PATH,
'namespace' => '',
'resourceTypes' =>
array('form'=>
array('path' => 'forms/',
'namespace' => 'Form_'
),
),
));
return $autoLoader;
}
}