Moodle APIs  3.8
Moodle 3.8.6 (Build: 20201109)
Public Member Functions | Protected Attributes | List of all members
core_privacy\output\exported_html_page Class Reference

Class containing the navigation renderable. More...

Inheritance diagram for core_privacy\output\exported_html_page:
renderable templatable

Public Member Functions

 __construct (string $navigationdata, string $systemname, string $username, bool $righttoleft, string $siteurl)
 Constructor. More...
 
 export_for_template (renderer_base $output)
 Export this data so it can be used as the context for a mustache template. More...
 

Protected Attributes

string $navigationdata
 $navigationdata navigation html to be displayed about the system.
 
bool $rtl
 $rtl The direction to show the page (right to left)
 
string $siteurl
 $siteurl The url back to the site that created this export.
 
string $systemname
 $systemname systemname for the page.
 
string $username
 $username The full name of the user.
 

Detailed Description

Class containing the navigation renderable.

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

Constructor & Destructor Documentation

◆ __construct()

core_privacy\output\exported_html_page::__construct ( string  $navigationdata,
string  $systemname,
string  $username,
bool  $righttoleft,
string  $siteurl 
)

Constructor.

Parameters
string$navigationdataNavigation html to be displayed about the system.
string$systemnamesystemname for the page.
string$usernameThe full name of the user.
bool$righttoleftIs the language used right to left?
string$siteurlThe url to the site that created this export.

Member Function Documentation

◆ export_for_template()

core_privacy\output\exported_html_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$output
Return values
array

Implements templatable.


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