[AMOS commit] MDL-24419 (4): Add conditional availability support to sections; section cache Committed into Git: 2012-04-02 11:16 UTC

[AMOS commit] MDL-24419 (4): Add conditional availability support to sections; section cache Committed into Git: 2012-04-02 11:16 UTC

av AMOS bot -
Antal svar: 0
Author: sam marshall
MDL-24419 (4): Add conditional availability support to sections; section cache
Credit: original version done by Kirill Astashov of NetSpot (netspot.com.au),
finished and tweaked by sam.

This change adds conditional availability support for sections analagous to
that already available for activities. (Backend, UI, backup/restore.)

In order that this feature does not reduce performance, section cacheing has
also been added using a new course 'sectioncache' field analagous to modinfo.

The new feature integrates with activity availability so that activities
inside sections which are not available are automatically not available
themselves (meaning it works to restrict access).


http://git.moodle.org/gw?p=moodle.git;a=commit;h=ce4dfd2703fcd4eb0c80853c631acd2f67299f01
http://github.com/moodle/moodle/commit/ce4dfd2703fcd4eb0c80853c631acd2f67299f01

+ 2.3 en [completionconditionsection,core_condition]
+ 2.3 en [completionconditionsection_help,core_condition]
+ 2.3 en [gradeconditionsection,core_condition]
+ 2.3 en [gradeconditionsection_help,core_condition]
+ 2.3 en [showavailabilitysection,core_condition]
+ 2.3 en [showavailabilitysection_hide,core_condition]
+ 2.3 en [showavailabilitysection_show,core_condition]
+ 2.3 en [groupingnoaccess,core_condition]
+ 2.3 en [groupingsection,core_group]
+ 2.3 en [groupingsection_help,core_group]