Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
mod_lti\output\registration_upgrade_choice_page Class Reference

Class containing data for rendering LTI upgrade choices page. More...

Inheritance diagram for mod_lti\output\registration_upgrade_choice_page:
renderable templatable

Public Member Functions

 __construct (array $tools, string $startregurl)
 Constructor.
 
 export_for_template (renderer_base $output)
 Export this data so it can be used as the context for a mustache template.
 

Protected Attributes

string string $startregurl
 tool URL.
 
array array $tools = []
 array of tools.
 

Detailed Description

Class containing data for rendering LTI upgrade choices page.

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

Constructor & Destructor Documentation

◆ __construct()

mod_lti\output\registration_upgrade_choice_page::__construct ( array $tools,
string $startregurl )

Constructor.

Parameters
array$toolsarray of tools that can be upgraded
string$startregurltool URL to start the registration process

Member Function Documentation

◆ export_for_template()

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

Export this data so it can be used as the context for a mustache template.

Parameters
renderer_base$outputThe renderer
Return values
stdClassData to be used by the template

Implements templatable.


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