2010年11月23日星期二

[fw-mvc] Re: How to instantiate a model class to use its functions, standard solution?

Rishi,

Have you tried the quick start guide?
http://framework.zend.com/manual/en/learning.quickstart.create-project.html

I suspect many of your questions will be answered after going through this.

BTW, the "My" namespace is contrived for example purposes -- not saying you
can't use it; however, there is nothing compulsory about it.

Also, anytime you get errors regarding a not found file (class), you can
start by checking that the file is within the include path (the include path
will generally be echo'd in the error/exception output). There can be more
to it if you are autoloading, but generally, you can at least start here.

Please post again after going attempting some of the concepts presented in
the quick start guide.

-----
--
Wil Moore III

Why is Bottom-posting better than Top-posting:
http://www.caliburn.nl/topposting.html
--
View this message in context: http://zend-framework-community.634137.n4.nabble.com/How-to-instantiate-a-model-class-to-use-its-functions-standard-solution-tp3054833p3056023.html
Sent from the Zend MVC mailing list archive at Nabble.com.

没有评论: