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

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.

主站蜘蛛池模板: 灯塔市| 十堰市| 金阳县| 五家渠市| 扶余县| 馆陶县| 襄樊市| 嘉峪关市| 郴州市| 临泽县| 正蓝旗| 郓城县| 英吉沙县| 罗田县| 乌什县| 汝州市| 琼海市| 广宁县| 礼泉县| 普定县| 碌曲县| 贵南县| 武清区| 塔河县| 延寿县| 方正县| 黄骅市| 徐水县| 克什克腾旗| 来凤县| 剑河县| 永福县| 阜宁县| 大荔县| 民权县| 班玛县| 禹州市| 长子县| 沾化县| 互助| 蒙山县|