2008年9月28日星期日

[fw-mvc] Zend Autoloader and forms

Hello I have a question about zend form and the autoloader.

I have created a directory application/forms to house all my forms

However the AutoLoader cannot find the forms directory. I still have to
do something like

require_once '../application/forms/LoginForm.php';
$form = new Form_Login();


Is there a shortcut I can take so Autoloader can take care of this form
me?


Thanks
-Tom Printy

没有评论: