|
| accept (&$renderer, $required=false, $error=null) |
| Accepts a renderer.
|
|
| freeze () |
| Freeze the element so that only its value is returned and set persistantfreeze to false.
|
|
| get_force_ltr () |
| Get force LTR option.
|
|
| getFrozenHtml () |
| Returns the html to be used when the element is frozen.
|
|
| getHelpButton () |
| get html for help button
|
|
| MoodleQuickForm_text ($elementName=null, $elementLabel=null, $attributes=null) |
| Old syntax of class constructor.
|
|
| set_force_ltr ($value) |
| Force the field to flow left-to-right.
|
|
| setHiddenLabel ($hiddenLabel) |
| Sets label to be hidden.
|
|
| toHtml () |
| Returns HTML for this form element.
|
|
|
string | $_groupElementTemplate |
| an element template.
|
|
string | $_helpbutton ='' |
| html for help button, if empty then no help
|
|
bool | $_hiddenLabel =false |
| if true label will be hidden
|
|
|
bool | $forceltr = false |
| Whether to force the display of this element to flow LTR.
|
|
◆ accept()
mod_bigbluebuttonbn\form\text_with_copy_element::accept |
( |
& | $renderer, |
|
|
| $required = false, |
|
|
| $error = null ) |
Accepts a renderer.
- Parameters
-
object | $renderer | An HTML_QuickForm_Renderer object |
bool | $required | Whether an element is required |
string | $error | An error message associated with an element |
- Return values
-
◆ freeze()
MoodleQuickForm_text::freeze |
( |
| ) |
|
|
inherited |
Freeze the element so that only its value is returned and set persistantfreeze to false.
- Since
- Moodle 2.4
- Return values
-
◆ get_force_ltr()
MoodleQuickForm_text::get_force_ltr |
( |
| ) |
|
|
inherited |
Get force LTR option.
- Return values
-
◆ getFrozenHtml()
MoodleQuickForm_text::getFrozenHtml |
( |
| ) |
|
|
inherited |
Returns the html to be used when the element is frozen.
- Since
- Moodle 2.4
- Return values
-
◆ getHelpButton()
MoodleQuickForm_text::getHelpButton |
( |
| ) |
|
|
inherited |
get html for help button
- Return values
-
string | html for help button |
◆ MoodleQuickForm_text()
MoodleQuickForm_text::MoodleQuickForm_text |
( |
| $elementName = null, |
|
|
| $elementLabel = null, |
|
|
| $attributes = null ) |
|
inherited |
◆ set_force_ltr()
MoodleQuickForm_text::set_force_ltr |
( |
| $value | ) |
|
|
inherited |
Force the field to flow left-to-right.
This is useful for fields such as URLs, passwords, settings, etc...
- Parameters
-
bool | $value | The value to set the option to. |
◆ setHiddenLabel()
MoodleQuickForm_text::setHiddenLabel |
( |
| $hiddenLabel | ) |
|
|
inherited |
Sets label to be hidden.
- Parameters
-
bool | $hiddenLabel | sets if label should be hidden |
◆ toHtml()
MoodleQuickForm_text::toHtml |
( |
| ) |
|
|
inherited |
The documentation for this class was generated from the following file:
- mod/bigbluebuttonbn/classes/form/text_with_copy_element.php