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

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.

主站蜘蛛池模板: 渝中区| 乐东| 精河县| 永德县| 玛曲县| 松桃| 合江县| 和顺县| 武安市| 德江县| 彰化市| 社旗县| 麻栗坡县| 沅陵县| 常州市| 和硕县| 佛教| 延长县| 通道| 衢州市| 新乡市| 衡阳市| 六盘水市| 内丘县| 游戏| 阿拉善盟| 伊吾县| 香河县| 扶风县| 安溪县| 南陵县| 安陆市| 广宁县| 大悟县| 惠水县| 杂多县| 汨罗市| 建湖县| 贵州省| 长岛县| 玉山县|