XCL Web Application Platform 2.5.0
The XoopsCube Legacy Project
Loading...
Searching...
No Matches
XoopsFormPassword Class Reference
Inheritance diagram for XoopsFormPassword:
XoopsFormElement

Public Member Functions

 __construct ($caption, $name, $size, $maxlength, $value='')
 
 XoopsFormPassword ($caption, $name, $size, $maxlength, $value='')
 
 getSize ()
 
 getMaxlength ()
 
 getValue ()
 
 setValue ($value)
 
 render ()
 
- Public Member Functions inherited from XoopsFormElement
 __construct ()
 
 XoopsFormElement ()
 
 isContainer ()
 
 setName ($name)
 
 getName ($encode=true)
 
 setId ($id)
 
 getId ()
 
 setAccessKey ($key)
 
 getAccessKey ()
 
 getAccessString ($str)
 
 setClass ($class)
 
 getClass ()
 
 setCaption ($caption)
 
 getCaption ()
 
 setDescription ($description)
 
 getDescription ()
 
 setHidden ()
 
 isHidden ()
 
 isBreak ()
 
 setExtra ($extra, $replace=false)
 
 getExtra ()
 
 getMessageForJS ()
 

Data Fields

 $_size
 
 $_maxlength
 
 $_value
 
- Data Fields inherited from XoopsFormElement
 $_name
 
 $_caption
 
 $_accesskey = ''
 
 $_class = ''
 
 $_hidden = false
 
 $_extra = ''
 
 $_required = false
 
 $_description = ''
 
 $_id = null
 

Detailed Description

Definition at line 18 of file formpassword.php.

Constructor & Destructor Documentation

◆ __construct()

__construct ( $caption,
$name,
$size,
$maxlength,
$value = '' )

Constructor

Parameters
string$captionCaption
string$name"name" attribute
int$sizeSize of the field
int$maxlengthMaximum length of the text
string$valueInitial value of the field. Warning: this is readable in cleartext in the page's source!

Definition at line 52 of file formpassword.php.

Member Function Documentation

◆ getMaxlength()

getMaxlength ( )

Get the max length

Returns
int

Definition at line 80 of file formpassword.php.

◆ getSize()

getSize ( )

Get the field size

Returns
int

Definition at line 70 of file formpassword.php.

◆ getValue()

getValue ( )

Get the initial value

Returns
string

Definition at line 90 of file formpassword.php.

◆ render()

render ( )

Prepare HTML for output

Returns
string HTML

Reimplemented from XoopsFormElement.

Definition at line 111 of file formpassword.php.

◆ setValue()

setValue ( $value)

Set the initial value

@patam $value string

Parameters
$value

Definition at line 101 of file formpassword.php.

◆ XoopsFormPassword()

XoopsFormPassword ( $caption,
$name,
$size,
$maxlength,
$value = '' )

Definition at line 60 of file formpassword.php.

Field Documentation

◆ $_maxlength

$_maxlength

Definition at line 33 of file formpassword.php.

◆ $_size

$_size

Definition at line 26 of file formpassword.php.

◆ $_value

$_value

Definition at line 40 of file formpassword.php.


The documentation for this class was generated from the following file: