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

Conventions

In this book, you will find a number of text styles 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: "Create or open a .htaccess file."

A block of code is set as follows:

$this->load->model('Urls_model');
if ($res = $this->Urls_model->save_url($data)) {
  $page_data['success_fail'] = 'success'; 
  $page_data['encoded_url'] = $res; 
} else {
  $page_data['success_fail'] = 'fail'; 
}

When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:

if ($this->form_validation->run() == FALSE) {
     // Set initial values for the view
$page_data = array('success_fail' => null,
                   'encoded_url' => false);

Any command-line input or output is written as follows:

user@server:/path/to/codeigniter$ php tools/spark install -v1.0.0 example-spark

New terms and important words are shown in bold. Words that you see on the screen, for example, in menus or dialog boxes, appear in the text like this: "Enter the following command and click on OK."

Note

Warnings or important notes appear in a box like this.

Tip

Tips and tricks appear like this.

主站蜘蛛池模板: 翁源县| 博兴县| 肥乡县| 平塘县| 格尔木市| 乐都县| 夹江县| 石首市| 东山县| 龙江县| 手机| 武隆县| 砀山县| 托里县| 怀化市| 鲁山县| 馆陶县| 台州市| 曲麻莱县| 紫云| 金山区| 合阳县| 呼玛县| 醴陵市| 岐山县| 嘉黎县| 南郑县| 澄城县| 越西县| 福鼎市| 东港市| 公主岭市| 苏州市| 都昌县| 七台河市| 中西区| 桂阳县| 通榆县| 临潭县| 大邑县| 义乌市|