Site competencies element.
More...
|
| __construct ($elementname=null, $value='', $attributes=null) |
| Constructor.
|
|
| accept (&$renderer, $required=false, $error=null) |
| Accepts a renderer.
|
|
| getHelpButton () |
| get html for help button
|
|
| MoodleQuickForm_hidden ($elementName=null, $value='', $attributes=null) |
| Old syntax of class constructor.
|
|
| setHelpButton ($helpbuttonargs, $function='helpbutton') |
|
| toHtml () |
| Generate the hidden field and the controls to show and pick the competencies.
|
|
|
string | $_helpbutton ='' |
| html for help button, if empty then no help
|
|
Site competencies element.
- Copyright
- 2019 Damyon Wiese
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ __construct()
tool_lp_site_competencies_form_element::__construct |
( |
| $elementname = null, |
|
|
| $value = '', |
|
|
| $attributes = null ) |
Constructor.
- Parameters
-
string | $elementname | Element name. |
string | $value | The element value. |
mixed | $attributes | Either a typical HTML attribute string or an associative array. |
Reimplemented from MoodleQuickForm_hidden.
◆ accept()
tool_lp_site_competencies_form_element::accept |
( |
& | $renderer, |
|
|
| $required = false, |
|
|
| $error = null ) |
Accepts a renderer.
- Parameters
-
HTML_QuickForm_Renderer | $renderer | the renderer for the element. |
boolean | $required | not used. |
string | $error | not used. |
- Return values
-
◆ getHelpButton()
MoodleQuickForm_hidden::getHelpButton |
( |
| ) |
|
|
inherited |
get html for help button
- Return values
-
string | html for help button |
◆ MoodleQuickForm_hidden()
MoodleQuickForm_hidden::MoodleQuickForm_hidden |
( |
| $elementName = null, |
|
|
| $value = '', |
|
|
| $attributes = null ) |
|
inherited |
◆ setHelpButton()
MoodleQuickForm_hidden::setHelpButton |
( |
| $helpbuttonargs, |
|
|
| $function = 'helpbutton' ) |
|
inherited |
The documentation for this class was generated from the following file:
- admin/tool/lp/classes/site_competencies_form_element.php