Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
|
Course tools page header renderable, containing the data for the page zero state and 'add tool' button. More...
Public Member Functions | |
__construct (protected int $courseid, protected int $toolcount, protected bool $canadd) | |
Constructor. | |
export_for_template (renderer_base $output) | |
Export the header's data for template use. | |
Course tools page header renderable, containing the data for the page zero state and 'add tool' button.
mod_lti\output\course_tools_page_header::__construct | ( | protected int | $courseid, |
protected int | $toolcount, | ||
protected bool | $canadd ) |
Constructor.
int | $courseid | the course id. |
int | $toolcount | the number of tools available in the course. |
bool | $canadd | whether the user can add tools to the course or not. |
mod_lti\output\course_tools_page_header::export_for_template | ( | renderer_base | $output | ) |
Export the header's data for template use.
renderer_base | $output |
object | the data. |
Implements templatable.