- Moodle 1.9 Extension Development
- Jonathan Moore Michael Churchward
- 92字
- 2021-08-06 17:24:08
Making version.php
This file works exactly as we have discussed in prior chapters. It is used to manage database upgrades and enforce required versions of Moodle. This file takes on greater importance for activity modules because they are more data intensive than earlier modules. In the code sample below, we define the current version of the module and the version of Moodle required to run the module:
$module->version = 2009060103; $module->requires = 2007101509; $module->cron = 0;
In our next section, we will cover how to add a custom icon to the module.
推薦閱讀
- Excel函數、公式、圖表、數據處理從新手到高手
- 基于元胞自動機的城市路網交通流建模與仿真
- JasperReports for Java Developers
- 3ds Max/VRay室內設計材質、燈光與建模速查超級手冊
- Swing Extreme Testing
- ASP.NET MVC 1.0 Quickly
- 3ds Max 2015中文版從入門到精通
- WordPress Theme Design
- JBoss AS 5 Performance Tuning
- Moodle 1.9 for Design and Technology
- 從零開始:Photoshop CC 2019設計基礎+商業設計實戰
- Photoshop CC APP UI設計從入門到精通
- 手把手教你學成Excel高手
- IBM Lotus Domino: Classic Web Application Development Techniques
- MATLAB R2020a入門、精通與實戰