Differences Between: [Versions 311 and 400] [Versions 311 and 401] [Versions 311 and 402] [Versions 311 and 403]
(no description)
File Size: | 310 lines (11 kb) |
Included or required: | 1 time |
Referenced: | 0 times |
Includes or requires: | 0 files |
block_accessreview:: (9 methods):
init()
applicable_formats()
has_config()
instance_allow_multiple()
get_content()
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 |
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 |