- CakePHP 2 Application Cookbook
- James Watts Jorge González
- 230字
- 2021-04-02 10:06:31
Conventions
In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and an explanation of their meaning.
Code words in text are shown as follows: "Now, create a directory named Products/
in app/View/
. Then, in this directory, create one file named index.ctp
and another named view.ctp
."
A block of code is set as follows:
CREATE TABLE products ( id VARCHAR(36) NOT NULL, name VARCHAR(100), details TEXT, available TINYINT(1) UNSIGNED DEFAULT 1, created DATETIME, modified DATETIME, PRIMARY KEY(id) );
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
public function index() { $this->Category->recursive = 0; $this->Prg->commonProcess(null, array( 'paramType' => 'querystring' )); $this->Paginator->settings = array( 'Category' => array( 'paramType' => 'querystring', 'conditions' => $this->Category->parseCriteria($this->Prg->parsedParams()) ) ); $this->set('categories', $this->Paginator->paginate()); }
Any command-line input or output is written as follows:
$ Console/cake bake all Gift $ Console/cake bake all Recipient
New terms and important words are shown in bold. Words that you see on the screen, in menus or dialog boxes for example, appear in the text like this: "If we fill the search box with the example text and then hit the Submit button."
- AutoCAD 2022快速入門、進階與精通
- 對比Excel,輕松學習SQL數(shù)據(jù)分析
- Joomla! 1.5 SEO
- 中文版 Photoshop CC 從入門到精通
- 中文版Illustrator CC基礎(chǔ)培訓教程(移動學習版)
- Photoshop日系少女寫真后期解密
- 中文版Illustrator CC實戰(zhàn)視頻教程
- 中文版Photoshop 2022基礎(chǔ)教程
- AI繪畫+LoRA模型訓練從新手到高手
- Photoshop手繪從新手到高手
- 數(shù)碼攝影后期密碼Photoshop CC調(diào)色秘籍(第2版)
- Procreate數(shù)字繪畫實戰(zhàn)教程(全彩微課版)
- 中文版Photoshop CS6實用教程(第2版)
- Moodle 1.9 Math
- 中文版Flash CC動畫制作實用教程