MDL-35238 Introduce available_update_deployer class
commit7683e550ac50721ed3bea202d8ec0cbe88975d85
authorDavid Mudrák <david@moodle.com>
Sun, 7 Oct 2012 23:48:15 +0000 (8 01:48 +0200)
committerDavid Mudrák <david@moodle.com>
Thu, 8 Nov 2012 21:33:06 +0000 (8 22:33 +0100)
tree3153b671b5ea57d59232983c91509fa06c2219ba
parentf965e1653951b568651cea40e8205d9721c2b47a
MDL-35238 Introduce available_update_deployer class

This class represents the communication bridge from Moodle UI to the
(standalone) mdeploy.php utility. It consists of various helper methods
useful when dealing with user interface, update confirmation etc.

The class is implemented as a singleton. This allows us easily
transfer required data from top level scripts (like /admin/index.php)
into the rendering methods deep in the stack without the need to change
the API of many methods on the way.
lang/en/admin.php
lib/pluginlib.php
lib/tests/pluginlib_test.php