Original: http://blog.csdn.net/kunshan_shenbin/article/details/7644603The practice of using paginator to sort multiple fields under CakePHP 2012-06-08 11:03 448 people read comments (0) favorite reports Sometimes you need to sort multiple fields
Abstract: It seems that no detailed Chinese documents have been provided on the Internet to describe how to use cakephp to implement i18n. Just yesterday, I was forced to show the tips in the code with a little bit of experience, simple and
~~~cakephp Some of the problems, high scores to help!!
I was just starting to see cakephp and now I'm having some problems.
1, I want to know if Access http://www.yuming.com/when the default controller is what, searched for a long time, did not find.
It seems that no detailed Chinese documents have been provided on the Internet to describe how to use cakephp to implement i18n. It was just yesterday that I was forced to show the prompts in the code with a little bit of experience.
It seems that
Sometimes multiple fields need to be sorted during page turning. However, by default, the paginator sort method of CakePHP can only sort one field.
Sometimes multiple fields need to be sorted during page turning.
However, by default, the paginator
The Cakephp framework does a lot of work for us, and it does save us a lot of work and improve efficiency.However, when encountering some more complex queries, there are still some problems, the official cookbook API has some detailed usage, but the
Php & amp; cakephp show picture problem Reference: http://bbs.csdn.net/topics/360220433privatefunctionoutputFile2Brower () {$ filename = WWW_ROOT. ".../../". $ t php & cakephp show picture problem
Reference: http://bbs.csdn.net/topics/360220433
CakePHP study summary 6
1. Change the debug information in the lower part of the cake during running.Set row 43rd of APP \ config \ core. php* Development Mode:* 1: errors and warnings shown, model caches refreshed, flash messages halted.* 2:
CakePHP questions
This is the code I wrote:
Class Bookscontroller extends AppController { var $name = ' Books '; var $help = ' form ';function Add (){ if (!empty ($this->data)) { $this->book->create (); $this->book->save
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.