moodle/mod
Tim Hunt ef0376f4ef MDL-31095 quiz editing: only set quiz->grade to 0 if really necessary.
It is only necessary when there are (non-preview) attempts. However,
after making this change we have to ensure users cannot start attempts
when ->grade > 0 and ->sumgrades = 0.

Display ->grade on the order and paging tab of edit.php, so it is clear
what is going on when you are using that tab.

Finally, improve the error message a student gets if they try to start a
quiz with no questions.
2012-01-13 11:42:57 +00:00
..
assignment MDL-29266 Assignment grading: save state of "send notifications" box 2012-01-03 11:09:59 +13:00
chat MDL-30604 Added upgrade lines to upgrade.php(s) 2011-12-09 02:03:58 +01:00
choice MDL-30604 Added upgrade lines to upgrade.php(s) 2011-12-09 02:03:58 +01:00
data MDL-30604 Added upgrade lines to upgrade.php(s) 2011-12-09 02:03:58 +01:00
feedback MDL-30851 - Syntax error in analysis_course.php 2011-12-23 17:39:16 +01:00
folder MDL-30604 Added upgrade lines to upgrade.php(s) 2011-12-09 02:03:58 +01:00
forum MDL-18128 - forum - Addition of group editing for forums. 2011-12-21 15:40:09 +08:00
glossary Merge branch 'MDL-29048-m22' of git://github.com/ankitagarwal/moodle into MOODLE_22_STABLE 2011-12-20 18:56:01 +01:00
imscp MDL-30419: IMS package content missing when using Blackboard packages 2011-12-14 21:36:04 +01:00
label MDL-30604 Added upgrade lines to upgrade.php(s) 2011-12-09 02:03:58 +01:00
lesson MDL-30639 mod_lesson: Used a consistent format for users display of answer 2011-12-22 11:23:15 +13:00
lti MDL-27200 missing {} in various lang strings. 2011-12-23 11:19:24 +00:00
page MDL-30604 Added upgrade lines to upgrade.php(s) 2011-12-09 02:03:58 +01:00
quiz MDL-31095 quiz editing: only set quiz->grade to 0 if really necessary. 2012-01-13 11:42:57 +00:00
resource MDL-30604 Added upgrade lines to upgrade.php(s) 2011-12-09 02:03:58 +01:00
scorm MDL-30652 SCORM Fixing report prefrences display for interactions report 2012-01-03 12:10:52 +05:30
survey MDL-30604 Added upgrade lines to upgrade.php(s) 2011-12-09 02:03:58 +01:00
url MDL-30604 Added upgrade lines to upgrade.php(s) 2011-12-09 02:03:58 +01:00
wiki MDL-30604 Added upgrade lines to upgrade.php(s) 2011-12-09 02:03:58 +01:00
workshop MDL-30865 Workshop method aggregate_grading_grades_process() accepts explicit aggregation timestamp 2011-12-23 09:21:09 +01:00
index.html
README.txt Fixed location of icon.gif 2010-03-24 10:56:22 +00:00
upgrade.txt MDL-29897 Update upgrade.txt files 2011-11-03 08:11:55 +01: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