Moodle  2.2.1
http://www.collinsharper.com
MoodleQuickForm_static Class Reference
Inheritance diagram for MoodleQuickForm_static:
Collaboration diagram for MoodleQuickForm_static:

Public Member Functions

 MoodleQuickForm_static ($elementName=null, $elementLabel=null, $text=null)
 setHelpButton ($helpbuttonargs, $function='helpbutton')
 getHelpButton ()
 getElementTemplateType ()

Data Fields

 $_elementTemplateType = 'static'
 $_helpbutton = ''

Detailed Description

HTML class for a text type element

Author:
Jamie Pratt public

Definition at line 10 of file static.php.


Member Function Documentation

Definition at line 41 of file static.php.

get html for help button

public

Returns:
string html for help button

Definition at line 37 of file static.php.

MoodleQuickForm_static ( elementName = null,
elementLabel = null,
text = null 
)

Definition at line 18 of file static.php.

Here is the call graph for this function:

setHelpButton ( helpbuttonargs,
function = 'helpbutton' 
)

set html for help button

public

Parameters:
array$helparray of arguments to make a help button
string$functionfunction name to call to get html

Definition at line 28 of file static.php.

Here is the call graph for this function:


Field Documentation

$_elementTemplateType = 'static'

Definition at line 11 of file static.php.

$_helpbutton = ''

Definition at line 17 of file static.php.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations