- Yii Project Blueprints
- Charles R. Portwood II
- 174字
- 2021-08-05 17:50:34
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, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "We'll also need to modify our UserIdentity
class to allow for socially authenticated users to sign in."
A block of code is set as follows:
<?php // change the following paths if necessary $config=dirname(__FILE__).'/config/main.php'; $config = require($config); require_once('/opt/frameworks/php/yii/framework/yiic.php');
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
<div class="form-group"> <?php $selected = array('options' => array(isset($_ GET['id']) ? $_GET['id'] : NULL => array('selected' => true))); ?> <?php echo CHtml::dropDownList('id', array(), CH tml::listData(Location::model()->findAll(),'id','name'), CMap::mergeArray($selected, array('empty' => 'Select a Location'))); ?> </div> <button type="submit" class="pull-right btn btnprimary">Search</button> </form>
Any command-line input or output is written as follows:
$ php protected/yiic.php migrate up
New terms and important words are shown in bold. Words that you see on the screen, in menus or dialog boxes for example, appear in the text like this: "Click on the link titled Model Generator, and then fill in the form on the page that appears."
Note
Warnings or important notes appear in a box like this.
Tip
Tips and tricks appear like this.
- Unreal Engine Physics Essentials
- ReSharper Essentials
- Microsoft Application Virtualization Cookbook
- 無代碼編程:用云表搭建企業數字化管理平臺
- 薛定宇教授大講堂(卷Ⅳ):MATLAB最優化計算
- MySQL數據庫管理與開發實踐教程 (清華電腦學堂)
- 實戰Java高并發程序設計(第3版)
- Drupal 8 Module Development
- 快人一步:系統性能提高之道
- Unity UI Cookbook
- Java EE實用教程
- Java程序設計教程
- Microsoft Windows Identity Foundation Cookbook
- Hands-On GUI Application Development in Go
- Unity3D游戲開發標準教程