moodle/mod
Eloy Lafuente (stronk7) 2fe085b284 MDL-45296 tests: ensure all submissions exist
The changes performed with the change from
create_from_user() to create_from_submission()
in practice enforce a new restriction about
submissions having to exist in order to fire
their lock/unlock events.

This did not exist before the change and, also,
it seems that the assign api itself, submission->lock() ...
also accepts non existing submissions.

So I was not 100% sure about how to fix these events:

1) enforcing submission to exist.
2) firing them only if the submission exist.

I've gone with 1) for now, making tests to pass. But will
raise the question in the Tracker, just in case we have
to move to the 2) approach for any reason.
2014-05-08 20:03:34 +02:00
..
assign MDL-45296 tests: ensure all submissions exist 2014-05-08 20:03:34 +02:00
assignment MDL-45219 remove old assignment course instance list 2014-04-23 11:53:35 +08:00
book MDL-45357 events: Remove unnecessary the before 'id' in event descriptions 2014-05-06 16:45:05 +08:00
chat MDL-45319 events: trivial changes 2014-05-07 16:28:59 +08:00
choice MDL-45357 events: Remove unnecessary the before 'id' in event descriptions 2014-05-06 16:45:05 +08:00
data MDL-45357 events: Remove unnecessary the before 'id' in event descriptions 2014-05-06 16:45:05 +08:00
feedback MDL-45357 events: Remove unnecessary the before 'id' in event descriptions 2014-05-06 16:45:05 +08:00
folder MDL-45357 events: Remove unnecessary the before 'id' in event descriptions 2014-05-06 16:45:05 +08:00
forum MDL-45296 tests: Fix unit tests to have objectid 2014-05-08 20:03:17 +02:00
glossary MDL-45357 events: Remove unnecessary the before 'id' in event descriptions 2014-05-06 16:45:05 +08:00
imscp MDL-43557 events: fixed minor issues in existing events 2014-04-29 19:16:11 -07:00
label MDL-41283 report_participation: Added phpdoc about function not used 2014-04-15 13:31:03 +08:00
lesson MDL-45357 events: Remove unnecessary the before 'id' in event descriptions 2014-05-06 16:45:05 +08:00
lti Merge branch 'MDL-34904-master' of git://github.com/ankitagarwal/moodle 2014-05-05 17:41:01 +08:00
page MDL-43557 events: fixed minor issues in existing events 2014-04-29 19:16:11 -07:00
quiz Merge branch 'MDL-45373-master' of git://github.com/jamiepratt/moodle 2014-05-08 15:41:20 +08:00
resource MDL-43557 events: fixed minor issues in existing events 2014-04-29 19:16:11 -07:00
scorm MDL-45357 events: Remove unnecessary the before 'id' in event descriptions 2014-05-06 16:45:05 +08:00
survey MDL-45357 events: Remove unnecessary the before 'id' in event descriptions 2014-05-06 16:45:05 +08:00
url MDL-43557 events: fixed minor issues in existing events 2014-04-29 19:16:11 -07:00
wiki MDL-45414 wiki: blank image for page index icons 2014-05-08 12:12:50 +08:00
workshop MDL-45319 events: trivial changes 2014-05-07 16:28:59 +08:00
index.html
README.txt
upgrade.txt MDL-41286 report_outline: updated report to use logging api 2014-04-15 22:42:59 -07: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