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

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.

主站蜘蛛池模板: 连江县| 方正县| 阜宁县| 辽宁省| 崇阳县| 清河县| 自贡市| 阜康市| 睢宁县| 山东省| 盐边县| 沙田区| 两当县| 金溪县| 威海市| 晴隆县| 佛教| 象山县| 寿阳县| 祥云县| 久治县| 乐亭县| 馆陶县| 读书| 屏东县| 天祝| 丰都县| 宜阳县| 庆安县| 抚松县| 富民县| 双牌县| 安阳市| 铁岭市| 南岸区| 金华市| 清涧县| 汶上县| 镇沅| 内乡县| 志丹县|