- Moodle 1.9 Extension Development
- Jonathan Moore Michael Churchward
- 168字
- 2021-08-06 17:24:03
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: "Finally, we display our table using the print_html
member function"
A block of code is set as follows:
<?php function learningisfunlink_filter($courseid, $text) { return $text; } ?>
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
function get_content() {
if ($this->content !== NULL) {
return $this->content;
}//if
$context = get_context_instance(CONTEXT_SYSTEM); require_capability('moodle/site:doanything', $context);
$this->content = new stdClass;
$this->content->text = 'Hello World!';
return $this->content;
}//function get_content
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 Notifications link in the Site Administration block."
Note
Tips and tricks appear like this.
推薦閱讀
- 詳解AutoCAD 2022建筑設計(第6版)
- 視覺封王:Photoshop CC 2019立體化教程(素材+視頻+教案)
- 改變思維:菜鳥也能做出震撼PPT(全彩版)
- Unity Game Development Essentials
- AutoCAD 2014電氣設計從入門到精通
- BIRT 2.6 Data Analysis and Reporting
- ASP.NET 3.5 Application Architecture and Design
- 攝影輕松入門:Photoshop后期處理
- 零基礎學AutoCAD 2018(全視頻教學版)
- JBoss Tools 3 Developers Guide
- 中文版UG NX 7.0基礎教程
- After Effects 影視后期特效:短視頻制作實戰寶典
- Flash CS5動畫設計教程
- Photoshop后期強:多重曝光專業技法寶典
- Photoshop+Firefly從入門到精通