: Is there an example article for thinkphp business models and controllers?
Source: Internet
Author: User
Help:: There is no thinkphp business model and controller of the case article??
Title, in the online search a lot, are one-sided, official documents like no source code, do not understand the relationship between the business model and controller, and even, do not know the wording of the business model ... Very depressed, can give some examples of source code?? Want the full point, at least one complete class, how does the controller invoke the business model? I know there's a M () and D (), but it doesn't seem to call ....
In learning TP, thanks ....
It seems that there are few business models on the Web, all of which are excerpts of official documents .... Very depressed
------Solution--------------------
Doesn't he have a Examples?
------Solution--------------------
How can m and D not be called? This is the most basic usage.
is the notation of M ("user")
------Solution--------------------
Go to see Smarty Chinese manual is,, very comprehensive!
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.