官术网_书友最值得收藏!

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.

主站蜘蛛池模板: 宿松县| 沅江市| 长春市| 双牌县| 灌南县| 长春市| 射阳县| 库尔勒市| 改则县| 乳山市| 山丹县| 涟水县| 平度市| 佛教| 黎川县| 综艺| 青浦区| 措美县| 张家港市| 崇信县| 都安| 开封市| 三穗县| 乌鲁木齐市| 信丰县| 仪陇县| 萨嘎县| 阳江市| 崇信县| 大新县| 申扎县| 隆林| 吉木萨尔县| 昂仁县| 邛崃市| 芒康县| 房产| 富蕴县| 安西县| 滁州市| 卓资县|