I've got some stuff I'm trying to do with ZF; I have a LoginController.php in application/controllers/ with class LoginController extends Zend_Controller_Action. Within it, I have the following:
public function getForm()
{
return new LoginForm(array(
'action' => '/login/process',
'method' => 'post',
));
}
I have a LoginForm.php inside application/forms/ that has the following:
class LoginForm extends Zend_Form
{
+-- 38 lines: public function init()--------------------------------------------
}
Now, when I visit example.com/login, I get the following:
Fatal error: Class 'LoginForm' not found in /var/application/controllers/LoginController.php on line 7
My application.ini is the default...
What am I doing wrong?