Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
tool_langimport\output\langimport_page Class Reference

Language import page class. More...

Inheritance diagram for tool_langimport\output\langimport_page:

Public Member Functions

 __construct ($installedlanguages, $availablelanguages, $uninstallurl, $updateurl, $installurl)
 langimport_page constructor.
 
 export_for_template (renderer_base $output)
 Export the data.
 

Protected Attributes

array $availablelanguages
 Array of languages that can be installed.
 
array $installedlanguages
 Array of currently installed languages.
 
moodle_url $installurl
 The URL to be used for installing the selected language packs to be installed.
 
moodle_url $uninstallurl
 The URL to be used for uninstalling the selected existing language packs.
 
moodle_url $updateurl
 The URL to be used for updating the installed language packs.
 

Detailed Description

Language import page class.

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

Constructor & Destructor Documentation

◆ __construct()

tool_langimport\output\langimport_page::__construct ( $installedlanguages,
$availablelanguages,
$uninstallurl,
$updateurl,
$installurl )

langimport_page constructor.

Parameters
array$installedlanguagesArray of currently installed languages.
array$availablelanguagesArray of languages that can be installed.
moodle_url$uninstallurlThe URL to be used for uninstalling the selected existing language packs.
moodle_url$updateurlThe URL to be used for updating the installed language packs.
moodle_url$installurlThe URL to be used for installing the selected language packs to be installed.

Member Function Documentation

◆ export_for_template()

tool_langimport\output\langimport_page::export_for_template ( renderer_base $output)

Export the data.

Parameters
renderer_base$output
Return values
stdClass

Implements templatable.


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