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

Types of APIs

For a complete list of Moodle's core internal APIs, take a look at https://docs.moodle.org/dev/Core_APIs. The first set of APIs are listed as General APIs. They are the interfaces upon which most plugins are built, for example, the Data Manipulation API for reading and writing to the Moodle database or the Form API that displays web forms and handles their form data. In the next section, we will create a simple plugin that overrides (in the object-oriented sense) and calls on the String API to change the way language strings are displayed in Moodle's user interface.

The "Other General APIs", listed next, are the ones that are still fundamental and likely to be used in any type of plugin but, that said, are much less likely to be called upon, for example, the Calendar API or the Competency API.

Then, there are the APIs that are specific to certain plugin types, such as the Activity Completion and Plagiarism APIs, which will only be employed by a Moodle activity module.

主站蜘蛛池模板: 板桥市| 勃利县| 朔州市| 东宁县| 略阳县| 丁青县| 西平县| 车致| 武平县| 手游| 许昌市| 遵义市| 信阳市| 文山县| 安新县| 莱州市| 滨州市| 舒兰市| 乐清市| 久治县| 新邵县| 开原市| 桐城市| 祁东县| 壤塘县| 屏东市| 太仆寺旗| 钦州市| 阿图什市| 武定县| 通渭县| 邵阳市| 婺源县| 搜索| 黎平县| 日照市| 玛纳斯县| 东港市| 噶尔县| 津南区| 新巴尔虎右旗|