Displays all user pictures on one page.
[moodle.git] / mod / README
CommitLineData
04eba58f 1This directory contains all the learning modules.
2
3Standard components expected of each module:
4
a48bf3ec 5 mod.html: a form to setup/update a module instance
6
7 version.php: defines some meta-info and provides upgrading code
8
9 icon.gif: a 16x16 icon for the module
10
11 db/mysql.sql: an SQL dump of all the required db tables and data
12
13 index.php: a page to list all instances in a course
14
15 view.php: a page to view a particular instance
16
17 lib.php: any/all functions defined by the module should be in here.
04eba58f 18 constants should be defined using MODULENAME_xxxxxx
19 functions should be defined using modulename_xxxxxx
20
21 There are a number of standard functions:
22
23 modulename_add_instance()
24 modulename_update_instance()
25 modulename_delete_instance()
26
27 modulename_user_complete()
28 modulename_user_outline()
29
30 modulename_cron()
31
1d3ff071 32 modulename_print_recent_activity()
33
a48bf3ec 34See newmodule_template.zip in this directory for a blank template
35to help you get started.