The chooser renderable class.
More...
The chooser 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\output\chooser::__construct |
( |
moodle_url |
$actionurl, |
|
|
lang_string |
$title, |
|
|
array |
$sections, |
|
|
|
$paramname |
|
) |
| |
Constructor.
- Parameters
-
moodle_url | $actionurl | The form action URL. |
lang_string | $title | The title of the chooser. |
chooser_section[] | $sections | The sections. |
string | $paramname | The name of the parameter for the items value. |
◆ add_param()
core\output\chooser::add_param |
( |
|
$name, |
|
|
|
$value, |
|
|
|
$id = null |
|
) |
| |
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\output\chooser::export_for_template |
( |
renderer_base |
$output | ) |
|
◆ set_instructions()
core\output\chooser::set_instructions |
( |
lang_string |
$value | ) |
|
Set the chooser instructions.
- Parameters
-
◆ set_method()
core\output\chooser::set_method |
( |
|
$value | ) |
|
Set the form method.
- Parameters
-
◆ $params
array core\output\chooser::$params = [] |
The documentation for this class was generated from the following file: