moodle/mod
Charles Severance ddcfda87d6 MDL-20534
I ran the software through the certification and caught a few nits:

The error return is 'failure' not 'error'
The spec says that it needs to return 'failure' for out of range or non-numeric grades
The result score needs a language tag, hard-coded as 'en'
Setting a grade multiplied by 100 but reading the grade did not divide by 100
All those are now fixed with this patch as well as this bit of cruft:

I removed the "extension service url" as it is not implemented in service.php

Feel free to review and adjust - probably the one place you might want to refactor
is that I put code to catch out-of-range-and non-numeric in
lti_parse_grade_replace_message and threw an exception on error and then caught
it in service.php and sent back the 'failure' message. Feel free to refactor a
bit if you see this done in a cleaner manner.
2011-11-17 10:34:23 -05:00
..
assignment Merged MDL-29108 Advanced grading 2011-11-14 22:01:05 +13:00
chat MDL-29189 course Minor fixups after code review 2011-09-13 11:17:18 +12:00
choice MDL-29690 fix usage of select all/deselect all in choice reports 2011-10-07 21:41:35 +13:00
data MDL-29696 mod/data - fixed page continuing after footer. 2011-11-09 15:42:07 +08:00
feedback MDL-29804 - Clean up Feedback modules coding style 2011-10-28 00:30:42 +02:00
folder MDL-27001 'Show description' feature part 3: Implementation for all modules 2011-09-06 11:03:06 +01:00
forum Merge branch 'MDL-26647-master' of git://github.com/sammarshallou/moodle 2011-11-11 03:37:55 +01:00
glossary MDL-29992 filters - move related css from mod/glossary to filter/glossary 2011-10-29 19:02:22 +02:00
imscp Merge branch 'MDL-27001-master' of git://github.com/sammarshallou/moodle 2011-09-06 15:50:26 +02:00
label Merge branch 'MDL-28169' of git://github.com/nebgor/moodle 2011-07-07 10:21:32 +02:00
lesson Merge branch 'MDL-29808' of git://github.com/timhunt/moodle 2011-11-10 21:54:36 +01:00
lti MDL-20534 2011-11-17 10:34:23 -05:00
page MDL-27001 'Show description' feature part 3: Implementation for all modules 2011-09-06 11:03:06 +01:00
quiz Merge branch 'MDL-26647-master' of git://github.com/sammarshallou/moodle 2011-11-11 03:37:55 +01:00
resource MDL-29231 - Course, Resource - Fix so that the correct icon is displayed for courses that have had two or more files uploaded to them - Thanks Michael D for the patch 2011-10-13 11:50:23 +08:00
scorm MDL-27036 AICC HACP handling - add missing check for correct user with has_capability. 2011-11-14 21:20:14 +13:00
survey Merge branch MDL-29189-master of git://github.com/samhemelryk/moodle 2011-09-13 11:39:06 +08:00
url Merge branch 'w43_MDL-30005_m22_uri' of git://github.com/skodak/moodle 2011-11-01 15:18:44 +08:00
wiki MDL-27037 wiki : fixed whitespace. 2011-11-11 13:28:46 +08:00
workshop MDL-29620 workshop table id sequence reset after the upgrade 2011-11-04 13:58:23 +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