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

Public Member Functions

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

Detailed Description

HTML class for a password type field

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

Definition at line 33 of file password.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
Exceptions:

Reimplemented from HTML_QuickForm_element.

Definition at line 98 of file password.php.

Here is the call graph for this function:

Here is the caller graph for this function:

HTML_QuickForm_password ( 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
Exceptions:

Definition at line 49 of file password.php.

Here is the call graph for this function:

Here is the caller graph for this function:

setMaxlength ( maxlength)

Sets maxlength of password element

Parameters:
string$maxlengthMaximum length of password field
Since:
1.0 public
Returns:
void

Definition at line 82 of file password.php.

Here is the call graph for this function:

setSize ( size)

Sets size of password element

Parameters:
string$sizeSize of password field
Since:
1.0 public
Returns:
void

Definition at line 66 of file password.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