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

Public Member Functions

 MoodleQuickForm_textarea ($elementName=null, $elementLabel=null, $attributes=null)
 setHelpButton ($helpbuttonargs, $function='helpbutton')
 getHelpButton ()
 setHiddenLabel ($hiddenLabel)
 toHtml ()
 onQuickFormEvent ($event, $arg, &$caller)
 getElementTemplateType ()

Data Fields

 $_formid = ''
 $_helpbutton = ''
 $_hiddenLabel = false

Detailed Description

HTML class for a textarea type element

Author:
Jamie Pratt public

Definition at line 10 of file textarea.php.


Member Function Documentation

Slightly different container template when frozen.

Returns:
string

Definition at line 87 of file textarea.php.

get html for help button

public

Returns:
string html for help button

Definition at line 45 of file textarea.php.

MoodleQuickForm_textarea ( elementName = null,
elementLabel = null,
attributes = null 
)

Definition at line 26 of file textarea.php.

Here is the call graph for this function:

Here is the caller graph for this function:

onQuickFormEvent ( event,
arg,
&$  caller 
)

Called by HTML_QuickForm whenever form event is made on this element

Parameters:
string$eventName of event
mixed$argevent arguments
object$callercalling object
Since:
1.0 public
Returns:
void

Reimplemented from HTML_QuickForm_element.

Definition at line 73 of file textarea.php.

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

Reimplemented in MoodleQuickForm_htmleditor.

Definition at line 36 of file textarea.php.

Here is the call graph for this function:

setHiddenLabel ( hiddenLabel)

Definition at line 49 of file textarea.php.

toHtml ( )

Returns the textarea element in HTML

Since:
1.0 public
Returns:
string

Reimplemented from HTML_QuickForm_textarea.

Reimplemented in MoodleQuickForm_htmleditor, and MoodleQuickForm_wikieditor.

Definition at line 53 of file textarea.php.

Here is the call graph for this function:


Field Documentation

$_formid = ''

Definition at line 16 of file textarea.php.

$_helpbutton = ''

Definition at line 22 of file textarea.php.

$_hiddenLabel = false

Definition at line 24 of file textarea.php.


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