Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
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: