moodle/mod
2006-09-06 08:41:47 +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 Now forum_get_discussions() is using $limitfrom and $limitnum 2006-09-05 22:37:56 +00:00
glossary replacing isteacher with viewfullname capability 2006-09-06 02:14:20 +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 Deleted duplicate table label2 from XMLDB schema 2006-09-05 16:09:15 +00:00
lams XMLDB schema initial commit for the lams module 2006-08-11 17:39:38 +00:00
lesson Added $Id$ to files 2006-09-06 04:04:42 +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 conversion of workshop to new roles and capabilities framework; groups are not functional yet (did they ever work properly ?) 2006-09-06 08:41:47 +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