See Release Notes
Long Term Support Release
Differences Between: [Versions 310 and 401] [Versions 311 and 401] [Versions 39 and 401] [Versions 401 and 402] [Versions 401 and 403]
Glossary Random block.
Copyright: | 1999 onwards Martin Dougiamas {@link http://moodle.com} |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 284 lines (11 kb) |
Included or required: | 1 time |
Referenced: | 0 times |
Includes or requires: | 0 files |
block_glossary_random:: (8 methods):
init()
specialization()
instance_config_commit()
get_glossary_cm()
instance_allow_multiple()
get_content()
get_config_for_external()
can_block_be_added()
Class: block_glossary_random - X-Ref
init() X-Ref |
specialization() X-Ref |
No description |
instance_config_commit($nolongerused = false) X-Ref |
Replace the instance's configuration data with those currently in $this->config; |
get_glossary_cm() X-Ref |
Checks if glossary is available - it should be either located in the same course or be global return: null|cm_info|stdClass object with properties 'id' (course module id) and 'uservisible' |
instance_allow_multiple() X-Ref |
No description |
get_content() X-Ref |
No description |
get_config_for_external() X-Ref |
Return the plugin config settings for external functions. return: stdClass the configs for both the block instance and plugin |
can_block_be_added(moodle_page $page) X-Ref |
This block shouldn't be added to a page if the glossary module is disabled. param: moodle_page $page return: bool |