- 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.
推薦閱讀
- 擁抱開源(第2版)
- Photoshop數碼攝影后期處理專業技法(第2版)
- 好的PPT會說話:如何打造完美幻燈片
- AutoCAD 2014電氣設計從入門到精通
- jQuery Mobile First Look
- 中文版Photoshop 2020基礎教程
- 中文版AutoCAD 2022基礎教程
- Photoshop+CorelDRAW平面設計實例教程(第4版)
- WordPress Theme Design
- 中文版Dreamweaver基礎培訓教程
- Python Testing: Beginner's Guide
- 中文版CINEMA 4D R20 實用教程
- 用Studio One輕松制作你的短視頻音樂
- 魔法詞典:AI繪畫關鍵詞圖鑒(Midjourney版)
- 計算機圖形制作CorelDRAW X6項目教程