moodle/mod
2016-03-17 16:49:40 +01:00
..
assign Merge branch 'MDL-50032-master' of git://github.com/jleyva/moodle 2016-03-09 10:55:18 +08:00
assignment MDL-50175 graphics: Optimized SVGs with SVGO. 2016-02-25 11:56:42 +00:00
book MDL-50032 webservice: Remove plugin functions from mobile service 2016-03-04 14:15:33 +01:00
chat MDL-50032 webservice: Remove plugin functions from mobile service 2016-03-04 14:15:33 +01:00
choice MDL-50032 webservice: Remove plugin functions from mobile service 2016-03-04 14:15:33 +01:00
data Merge branch 'MDL-50032-master' of git://github.com/jleyva/moodle 2016-03-09 10:55:18 +08:00
feedback Merge branch 'MDL-53210-master' of git://github.com/marinaglancy/moodle 2016-03-08 09:21:47 +08:00
folder MDL-50032 webservice: Remove plugin functions from mobile service 2016-03-04 14:15:33 +01:00
forum MDL-50032 webservice: Remove plugin functions from mobile service 2016-03-04 14:15:33 +01:00
glossary MDL-50032 webservice: Remove plugin functions from mobile service 2016-03-04 14:15:33 +01:00
imscp MDL-50032 webservice: Remove plugin functions from mobile service 2016-03-04 14:15:33 +01:00
label MDL-50175 graphics: Optimized SVGs with SVGO. 2016-02-25 11:56:42 +00:00
lesson Merge branch 'MDL-53200-master-enfix' of git://github.com/mudrd8mz/moodle 2016-03-01 21:23:16 +01:00
lti MDL-51571 lti: Whitespace fixes 2016-03-09 12:05:08 +08:00
page MDL-50032 webservice: Remove plugin functions from mobile service 2016-03-04 14:15:33 +01:00
quiz MDL-52863 mod_quiz: New Web Service mod_quiz_process_attempt 2016-03-17 16:49:40 +01:00
resource MDL-50032 webservice: Remove plugin functions from mobile service 2016-03-04 14:15:33 +01:00
scorm MDL-50032 webservice: Remove plugin functions from mobile service 2016-03-04 14:15:33 +01:00
survey MDL-50032 webservice: Remove plugin functions from mobile service 2016-03-04 14:15:33 +01:00
url MDL-50032 webservice: Remove plugin functions from mobile service 2016-03-04 14:15:33 +01:00
wiki MDL-50032 webservice: Remove plugin functions from mobile service 2016-03-04 14:15:33 +01:00
workshop Merge branch 'MDL-50175-master' of git://github.com/danpoltawski/moodle 2016-03-01 08:07:56 +08:00
index.html
README.txt
upgrade.txt MDL-51839 mod: Info about removing icon.gif files 2016-02-16 11:02:49 +08:00

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

These are main modules in Moodle, allowing various activities.


Each of these modules contains a number of expected components:

  mod_form.php: a form to setup/update a module instance

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

  pix/icon.gif: a 16x16 icon for the module

  db/install.xml: 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