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

Public Member Functions

 HTML_QuickForm_text ($elementName=null, $elementLabel=null, $attributes=null)
 setSize ($size)
 setMaxlength ($maxlength)

Detailed Description

HTML class for a text 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 text.php.


Member Function Documentation

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

Class constructor

Parameters:
string$elementName(optional)Input field name attribute
string$elementLabel(optional)Input field label
mixed$attributes(optional)Either a typical HTML attribute string or an associative array
Since:
1.0 public
Returns:
void

Definition at line 49 of file text.php.

Here is the call graph for this function:

Here is the caller graph for this function:

setMaxlength ( maxlength)

Sets maxlength of text field

Parameters:
string$maxlengthMaximum length of text field
Since:
1.3 public
Returns:
void

Definition at line 83 of file text.php.

Here is the call graph for this function:

setSize ( size)

Sets size of text field

Parameters:
string$sizeSize of text field
Since:
1.3 public
Returns:
void

Definition at line 67 of file text.php.

Here is the call graph for this function:


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