Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
MoodleQuickForm_hidden Class Reference

Hidden type form element. More...

Inheritance diagram for MoodleQuickForm_hidden:
tool_lp_site_competencies_form_element

Public Member Functions

 __construct ($elementName=null, $value='', $attributes=null)
 Constructor.
 
 getHelpButton ()
 get html for help button
 
 MoodleQuickForm_hidden ($elementName=null, $value='', $attributes=null)
 Old syntax of class constructor.
 
 setHelpButton ($helpbuttonargs, $function='helpbutton')
 

Public Attributes

string $_helpbutton =''
 html for help button, if empty then no help
 

Detailed Description

Hidden type form element.

HTML class for a hidden type element

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

Constructor & Destructor Documentation

◆ __construct()

MoodleQuickForm_hidden::__construct ( $elementName = null,
$value = '',
$attributes = null )

Constructor.

Parameters
string$elementName(optional) name of the hidden element
string$value(optional) value of the element
mixed$attributes(optional) Either a typical HTML attribute string or an associative array

Reimplemented in tool_lp_site_competencies_form_element.

Member Function Documentation

◆ getHelpButton()

MoodleQuickForm_hidden::getHelpButton ( )

get html for help button

Return values
stringhtml for help button

◆ MoodleQuickForm_hidden()

MoodleQuickForm_hidden::MoodleQuickForm_hidden ( $elementName = null,
$value = '',
$attributes = null )

Old syntax of class constructor.

Deprecated in PHP7.

Deprecated
since Moodle 3.1

◆ setHelpButton()

MoodleQuickForm_hidden::setHelpButton ( $helpbuttonargs,
$function = 'helpbutton' )
Deprecated
since Moodle 2.0

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