- 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.
推薦閱讀
- Moodle 2.0 E/Learning Course Development
- AutoCAD 2014 中文版從入門到精通
- AIGC輔助數據分析與挖掘:基于ChatGPT的方法與實踐
- 人臉識別算法與案例分析
- AI繪畫實戰:Midjourney從新手到高手
- AutoCAD 2020從入門到精通
- PowerPoint 2013從新手到高手(超值版)
- SOLIDWORKS中文版實用教程
- OpenCV項目開發實戰(原書第2版)
- OpenCart 1.4 Template Design Cookbook
- 抖音+剪映+Premiere短視頻制作從新手到高手(第2版)
- Elasticsearch數據搜索與分析實戰
- 邊做邊學:Illustrator CS6平面設計案例教程(微課版)
- TopSolid Wood軟件設計技術與應用
- Photoshop CS6平面設計實戰從入門到精通(經典暢銷版)