- Yii 1.1 Application Development Cookbook
- Alexander Makarov
- 140字
- 2021-04-02 18:40:56
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: "We can include view partials through the use of the include
directive."
A block of code is set as follows:
defined('YII_DEBUG') or define('YII_DEBUG', false); defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL', 0); $yii=dirname(__FILE__).'/../framework/yii.php'; $config=dirname(__FILE__).'/../app/config/production.php'; require($yii); Yii::createWebApplication($config)->run();
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
defined('YII_DEBUG') or define('YII_DEBUG', false);
defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL', 0);
$yii=dirname(__FILE__).'/../framework/yii.php';
$config=dirname(__FILE__).'/../app/config/production.php';
require($yii);
Yii::createWebApplication($config)->run();
Any command-line input or output is written as follows:
cd path/to/protected/tests phpunit unit/BBCodeTest.php
Note
Warnings or important notes appear in a box like this.
Note
Tips and tricks appear like this.
推薦閱讀
- 現代企業應用設計指南
- GIMP 2.6 cookbook
- CoffeeScript Application Development
- FreeSWITCH 1.0.6
- PPT 2016幻燈片設計與制作從入門到精通
- UG NX 9.0中文版 基礎教程 (UG工程師成才之路)
- 中文版CorelDRAW基礎培訓教程
- 照相館的故事:Photoshop CC 2018調色合成精修
- Cinema 4D電商美工與視覺設計案例教程(培訓教材版)
- Photoshop移動UI設計從入門到精通
- Adobe創意大學InDesign產品專家認證標準教材(CS6修訂版)
- 中文版Photoshop CS6完全自學手冊(超值版)
- AutoCAD 2020與天正建筑T20 V6.0建筑設計從入門到精通
- UG NX 11中文版從入門到精通
- Illustrator 2024實用教程