See Release Notes
Long Term Support Release
Differences Between: [Versions 311 and 401] [Versions 401 and 402] [Versions 401 and 403]
(no description)
File Size: | 320 lines (12 kb) |
Included or required: | 1 time |
Referenced: | 0 times |
Includes or requires: | 0 files |
block_accessreview:: (10 methods):
init()
applicable_formats()
has_config()
instance_allow_multiple()
get_content()
can_block_be_added()
get_table_data()
get_toggle_link()
get_download_link()
get_report_link()
Class: block_accessreview - X-Ref
Definition of the accessreview block.init() X-Ref |
Sets the block title. |
applicable_formats() X-Ref |
Defines where the block can be added. return: array |
has_config() X-Ref |
Controls global configurability of block. return: bool |
instance_allow_multiple() X-Ref |
Controls whether multiple block instances are allowed. return: bool |
get_content() X-Ref |
Creates the block's main content return: string|stdClass |
can_block_be_added(moodle_page $page) X-Ref |
This block shouldn't be added to a page if the accessibility tools setting is disabled. param: moodle_page $page return: bool |
get_table_data($courseid) X-Ref |
Fetches and groups the relevent error data for the table to display. param: int $courseid The ID of the course. return: array The data required by the table. |
get_toggle_link() X-Ref |
Get the link to toggle the heatmap. return: string |
get_download_link(context $context) X-Ref |
Get the link to download a report for the specified context. param: context $context return: string |
get_report_link(context $context) X-Ref |
Get the report link for the specified context. param: context $context return: string |