Moodle APIs  3.8
Moodle 3.8.6 (Build: 20201109)
Public Member Functions | Public Attributes | List of all members
MoodleQuickForm_hidden Class Reference
Inheritance diagram for MoodleQuickForm_hidden:
tool_lp_site_competencies_form_element

Public Member Functions

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

Public Attributes

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

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: