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

Public Member Functions

 HTML_QuickForm_textarea ($elementName=null, $elementLabel=null, $attributes=null)
 setName ($name)
 getName ()
 setValue ($value)
 getValue ()
 setWrap ($wrap)
 setRows ($rows)
 setCols ($cols)
 toHtml ()
 getFrozenHtml ()

Data Fields

 $_value = null

Detailed Description

HTML class for a textarea type field

Author:
Adam Daniel <adaniel1@eesus.jnj.com>
Bertrand Mansion <bmansion@mamasam.com>
Version:
1.0
Since:
PHP4.04pl1 public

Definition at line 33 of file textarea.php.


Member Function Documentation

Returns the value of field without HTML tags (in this case, value is changed to a mask)

Since:
1.0 public
Returns:
string

Reimplemented from HTML_QuickForm_element.

Reimplemented in MoodleQuickForm_htmleditor.

Definition at line 208 of file textarea.php.

Here is the call graph for this function:

Here is the caller graph for this function:

getName ( )

Returns the element name

Since:
1.0 public
Returns:
string

Reimplemented from HTML_QuickForm_element.

Definition at line 91 of file textarea.php.

Here is the call graph for this function:

Here is the caller graph for this function:

getValue ( )

Returns the value of the form element

Since:
1.0 public
Returns:
string

Reimplemented from HTML_QuickForm_element.

Definition at line 122 of file textarea.php.

Here is the caller graph for this function:

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

Class constructor

Parameters:
stringInput field name attribute
mixedLabel(s) for a field
mixedEither a typical HTML attribute string or an associative array
Since:
1.0 public
Returns:
void

Definition at line 58 of file textarea.php.

Here is the call graph for this function:

Here is the caller graph for this function:

setCols ( cols)

Sets width in cols for textarea element

Parameters:
string$colsWidth expressed in cols
Since:
1.0 public
Returns:
void

Definition at line 170 of file textarea.php.

Here is the call graph for this function:

setName ( name)

Sets the input field name

Parameters:
string$nameInput field name attribute
Since:
1.0 public
Returns:
void

Reimplemented from HTML_QuickForm_element.

Definition at line 76 of file textarea.php.

Here is the call graph for this function:

setRows ( rows)

Sets height in rows for textarea element

Parameters:
string$rowsHeight expressed in rows
Since:
1.0 public
Returns:
void

Definition at line 154 of file textarea.php.

Here is the call graph for this function:

setValue ( value)

Sets value for textarea element

Parameters:
string$valueValue for textarea element
Since:
1.0 public
Returns:
void

Reimplemented from HTML_QuickForm_element.

Definition at line 107 of file textarea.php.

setWrap ( wrap)

Sets wrap type for textarea element

Parameters:
string$wrapWrap type
Since:
1.0 public
Returns:
void

Definition at line 138 of file textarea.php.

Here is the call graph for this function:

toHtml ( )

Returns the textarea element in HTML

Since:
1.0 public
Returns:
string

Reimplemented from HTML_Common.

Reimplemented in MoodleQuickForm_htmleditor, MoodleQuickForm_textarea, and MoodleQuickForm_wikieditor.

Definition at line 185 of file textarea.php.

Here is the call graph for this function:


Field Documentation

$_value = null

Definition at line 43 of file textarea.php.


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