The modchooser renderable class.
More...
The modchooser renderable class.
- Copyright
- 2016 Frédéric Massart - FMCorz.net
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ __construct()
core_course\output\modchooser::__construct |
( |
stdClass |
$course, |
|
|
array |
$modules |
|
) |
| |
Constructor.
- Parameters
-
stdClass | $course | The course. |
stdClass[] | $modules | The modules. |
◆ add_param()
core\output\chooser::add_param |
( |
|
$name, |
|
|
|
$value, |
|
|
|
$id = null |
|
) |
| |
|
inherited |
Add a parameter to submit with the form.
- Parameters
-
string | $name | The parameter name. |
string | $value | The parameter value. |
string | $id | The parameter ID. |
◆ export_for_template()
core_course\output\modchooser::export_for_template |
( |
renderer_base |
$output | ) |
|
◆ set_instructions()
core\output\chooser::set_instructions |
( |
lang_string |
$value | ) |
|
|
inherited |
Set the chooser instructions.
- Parameters
-
◆ set_method()
core\output\chooser::set_method |
( |
|
$value | ) |
|
|
inherited |
Set the form method.
- Parameters
-
◆ $params
array core\output\chooser::$params = [] |
|
inherited |
The documentation for this class was generated from the following file: