]> git.mjollnir.org Git - moodle.git/commitdiff
Added a template for new modules that contains the bare necessities.
authormartin <martin>
Sat, 7 Sep 2002 03:31:36 +0000 (03:31 +0000)
committermartin <martin>
Sat, 7 Sep 2002 03:31:36 +0000 (03:31 +0000)
mod/README
mod/newmodule_template.zip [new file with mode: 0644]

index a517ff4f25aa6c8117018de45f4ca43edcf17c7a..a08f73aaf8e802156867e6366d78834aff7f4a69 100644 (file)
@@ -2,13 +2,19 @@ This directory contains all the learning modules.
 
 Standard components expected of each module:
 
-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.
+  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
 
@@ -23,3 +29,5 @@ lib.php: any/all functions defined by the module should be in here.
 
          modulename_cron()
 
+See newmodule_template.zip in this directory for a blank template 
+to help you get started.
diff --git a/mod/newmodule_template.zip b/mod/newmodule_template.zip
new file mode 100644 (file)
index 0000000..2c391f0
Binary files /dev/null and b/mod/newmodule_template.zip differ