diff --git a/blocks/HOWTO.html b/blocks/HOWTO.html index 640c5210bdd..6482e46ba80 100644 --- a/blocks/HOWTO.html +++ b/blocks/HOWTO.html @@ -816,6 +816,8 @@ function instance_config_save($data) {

Note that $data does not hold all of the submitted POST data because Moodle adds some hidden fields to the form in order to be able to process it. However, before calling this method it strips the hidden fields from the received data and so when this method is called only the "real" configuration data remain.

+

If you want to update the stored copy of the configuration data at run time (for example to persist some changes you made programmatically), you should not use this method. The correct procedure for that purpose is to call instance_config_commit.

+

You should return a boolean value denoting the success or failure of your method's actions.

@@ -876,6 +878,17 @@ function specialization() {