moodle/mod
2006-10-24 12:19:34 +00:00
..
assignment Moving deprecated uses of sql_paging_limit() to the new $limitfrom, 2006-10-23 23:00:18 +00:00
chat Deleting some old oci8po files from CVS. 2006-10-21 18:28:28 +00:00
choice Merged choice fixes from stable 2006-10-23 07:01:18 +00:00
data fixed risks associated with capabilitites in modules MDL-7174; merged from MOODLE_17_STABLE 2006-10-24 08:06:56 +00:00
exercise Deleting some old oci8po files from CVS. 2006-10-21 18:28:28 +00:00
forum merged fixing capabilities 2006-10-24 04:26:46 +00:00
glossary fixed risks associated with capabilitites in modules MDL-7174; merged from MOODLE_17_STABLE 2006-10-24 08:06:56 +00:00
hotpot Apply modularity to the creation of the log file during restore to a new course. 2006-10-17 10:05:41 +00:00
journal Deleting some old oci8po files from CVS. 2006-10-21 18:28:28 +00:00
label Deleting some old oci8po files from CVS. 2006-10-21 18:28:28 +00:00
lams Make sure LAMS is off if we don't need it (merged from stable) 2006-10-21 16:14:27 +00:00
lesson Apply modularity to the creation of the log file during restore to a new course. 2006-10-17 10:05:41 +00:00
quiz Apply modularity to the creation of the log file during restore to a new course. 2006-10-17 10:05:41 +00:00
resource Fixed &nbsp characters MDL-7179 2006-10-23 13:42:23 +00:00
scorm Added CAM support to SCORM 2004 3rd Edition 2006-10-24 07:35:11 +00:00
survey migrated to formslib 2006-10-24 12:19:34 +00:00
wiki Apply modularity to the creation of the log file during restore to a new course. 2006-10-17 10:05:41 +00:00
workshop Deleting some old oci8po files from CVS. 2006-10-21 18:28:28 +00:00
index.html To stop people browsing modules 2005-01-23 04:15:13 +00:00
README.txt

ACTIVITY MODULES
----------------

These are main modules in Moodle, allowing various activities.


Each of these modules contains a number of expected components:

  mod.html: a form to setup/update a module instance

  version.php: defines some meta-info and provides upgrading code

  icon.gif: a 16x16 icon for the module

  db/mysql.sql: an SQL dump of all the required db tables and data
 
  index.php: a page to list all instances in a course

  view.php: a page to view a particular instance

  lib.php: any/all functions defined by the module should be in here.
         constants should be defined using MODULENAME_xxxxxx
         functions should be defined using modulename_xxxxxx

         There are a number of standard functions:

         modulename_add_instance()
         modulename_update_instance()
         modulename_delete_instance()

         modulename_user_complete()
         modulename_user_outline()

         modulename_cron()

         modulename_print_recent_activity()


If you are a developer and interested in developing new Modules see:
  
   Moodle Documentation:  http://moodle.org/doc
   Moodle Community:      http://moodle.org/community