2009年10月16日星期五

Re: [fw-mvc] zf can not autoload models and forms

Hello,
it is the question how you create the new project. Did you use
Zend_Tool (zf create ...) on the command line?
Then everything should work -> see QuickStart Documentation.

regards,

2009/10/16 huajun qi <qihjun@gmail.com>:
> I create a project, the application directory looks like this:
> application:
>
> controllers
> configs
> models
>
> User.php---- class Model_User
>
> forms
>
> User.php---- class Form_user
>
> vies
> bootstrap.php
>
> When I try to use Model_User or Form_User class, error occurs that class can
> not be found!
> How to make them autoloaded?
>
>
> --
> Location:
>

没有评论: