moodle/mod
2006-09-04 22:42:56 +00:00
..
assignment replace all uses of isset($USER->id) with empty() to allow proper operation of $CFG->notloggedinroleid hack 2006-09-02 11:44:04 +00:00
chat adding some capabilities 2006-08-29 08:43:59 +00:00
choice replace all uses of isset($USER->id) with empty() to allow proper operation of $CFG->notloggedinroleid hack 2006-09-02 11:44:04 +00:00
data fixed missing semicolon typo 2006-08-30 09:17:40 +00:00
exercise SWEEPING CLEANUP 2006-08-14 05:55:40 +00:00
forum Included course/lib.php to be able to rebuild_course_cache() 2006-09-04 19:33:27 +00:00
glossary Using the standard sql_as() function, although it could be not used. 2006-09-04 22:42:56 +00:00
hotpot improve detection of PostgreSQL version number 2006-09-01 22:44:07 +00:00
journal Oops, filled now. I forgot to save changes before commit. 2006-08-11 17:31:11 +00:00
label XMLDB schema initial commit for the label module 2006-08-11 17:37:17 +00:00
lams XMLDB schema initial commit for the lams module 2006-08-11 17:39:38 +00:00
lesson Merged bug fix for MDL-6325 2006-08-28 20:02:49 +00:00
quiz Fixed syntax error. 2006-08-31 09:17:57 +00:00
resource Initial version of the XMLDB file for this plugin 2006-08-12 21:41:46 +00:00
scorm Added multi-attemps support 2006-09-01 10:17:01 +00:00
survey replace all uses of isset($USER->id) with empty() to allow proper operation of $CFG->notloggedinroleid hack 2006-09-02 11:44:04 +00:00
wiki Removed all of the "Restricted users" hack because Roles can do it all better. 2006-08-13 07:01:57 +00:00
workshop Initial version of the XMLDB file for this plugin 2006-08-12 22:19:10 +00:00
index.html
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