Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
mod_lti\output\course_tools_page_header Class Reference
Inheritance diagram for mod_lti\output\course_tools_page_header:
templatable

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.
 

Constructor & Destructor Documentation

◆ __construct()

mod_lti\output\course_tools_page_header::__construct ( protected int $courseid,
protected int $toolcount,
protected bool $canadd )

Constructor.

Parameters
int$courseidthe course id.
int$toolcountthe number of tools available in the course.
bool$canaddwhether the user can add tools to the course or not.

Member Function Documentation

◆ export_for_template()

mod_lti\output\course_tools_page_header::export_for_template ( renderer_base $output)

Export the header's data for template use.

Parameters
renderer_base$output
Return values
objectthe data.

Implements templatable.


The documentation for this class was generated from the following file: