Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.11.x will end 14 Nov 2022 (12 months plus 6 months extension).
  • Bug fixes for security issues in 3.11.x will end 13 Nov 2023 (18 months plus 12 months extension).
  • PHP version: minimum PHP 7.3.0 Note: minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is supported too.

(no description)

Copyright: 2003 onwards Eloy Lafuente (stronk7) {@link http://stronk7.com}
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 95 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

restore_glossary_random_block_task:: (7 methods):
  define_my_settings()
  define_my_steps()
  get_fileareas()
  get_configdata_encoded_attributes()
  after_restore()
  define_decode_contents()
  define_decode_rules()


Class: restore_glossary_random_block_task  - X-Ref

Specialised restore task for the glossary_random block
(using execute_after_tasks for recoding of glossaryid)

TODO: Finish phpdocs
define_my_settings()   X-Ref
No description

define_my_steps()   X-Ref
No description

get_fileareas()   X-Ref
No description

get_configdata_encoded_attributes()   X-Ref
No description

after_restore()   X-Ref
This function, executed after all the tasks in the plan
have been executed, will perform the recode of the
target glossary for the block. This must be done here
and not in normal execution steps because the glossary
may be restored after the block.


define_decode_contents()   X-Ref
No description

define_decode_rules()   X-Ref
No description