Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
Public Member Functions | Public Attributes | List of all members
MoodleQuickForm_header Class Reference
Inheritance diagram for MoodleQuickForm_header:

Public Member Functions

 __construct ($elementName=null, $text=null)
 constructor More...
 
 accept (&$renderer, $required=false, $error=null)
 Accepts a renderer. More...
 
 getHelpButton ()
 get html for help button More...
 
 MoodleQuickForm_header ($elementName=null, $text=null)
 Old syntax of class constructor. More...
 

Public Attributes

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

Constructor & Destructor Documentation

◆ __construct()

MoodleQuickForm_header::__construct (   $elementName = null,
  $text = null 
)

constructor

Parameters
string$elementNamename of the header element
string$texttext displayed in header element

Member Function Documentation

◆ accept()

MoodleQuickForm_header::accept ( $renderer,
  $required = false,
  $error = null 
)

Accepts a renderer.

Parameters
HTML_QuickForm_Renderer$renderera HTML_QuickForm_Renderer object

◆ getHelpButton()

MoodleQuickForm_header::getHelpButton ( )

get html for help button

Return values
stringhtml for help button

◆ MoodleQuickForm_header()

MoodleQuickForm_header::MoodleQuickForm_header (   $elementName = null,
  $text = null 
)

Old syntax of class constructor.

Deprecated in PHP7.

Deprecated:
since Moodle 3.1

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