(no description)
File Size: | 62 lines (2 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
course_tools_page_header:: (2 methods):
__construct()
export_for_template()
Class: course_tools_page_header - X-Ref
Course tools page header renderable, containing the data for the page zero state and 'add tool' button.__construct(protected int $courseid, protected int $toolcount, protected bool $canadd) X-Ref |
Constructor. param: int $courseid the course id. param: int $toolcount the number of tools available in the course. param: bool $canadd whether the user can add tools to the course or not. |
export_for_template(renderer_base $output) X-Ref |
Export the header's data for template use. param: renderer_base $output return: object the data. |