XOOPS
2.6.0
|
Public Member Functions | |
__construct ($caption, $name, $size, $maxlength, $value= '', $autoComplete=false, $placeholder= '') | |
getMaxlength () | |
getPlaceholder () | |
getSize () | |
render () | |
Public Member Functions inherited from Xoops\Form\Element | |
getAccessKey () | |
getAccessString ($str) | |
getCaption () | |
getClass () | |
getDatalist () | |
getDescription ($encode=false) | |
getExtra ($encode=false) | |
getMaxcols () | |
getName () | |
getPattern () | |
getPatternDescription () | |
getTitle () | |
getValue ($encode=false) | |
isDatalist () | |
isHidden () | |
isRequired () | |
render () | |
renderAttributeString () | |
renderValidationJS () | |
setAccessKey ($key) | |
setCaption ($caption) | |
setClass ($class) | |
setDatalist ($datalist) | |
setDescription ($description) | |
setExtra ($extra, $replace=false) | |
setHidden () | |
setName ($name) | |
setPattern ($pattern, $pattern_description= '') | |
setRequired ($bool=true) | |
setTitle ($title) | |
setValue ($value) | |
Public Member Functions inherited from Xoops\Html\Attributes | |
addAttribute ($name, $value) | |
getAttribute ($name) | |
hasAttribute ($name) | |
renderAttributeString () | |
setAttribute ($name, $value=null) | |
setAttributes ($values) | |
unsetAttribute ($name) | |
Additional Inherited Members | |
Public Attributes inherited from Xoops\Form\Element | |
$customValidationCode = array() | |
Protected Attributes inherited from Xoops\Form\Element | |
$value = '' | |
Protected Attributes inherited from Xoops\Html\Attributes | |
$attributes = array() | |
Definition at line 26 of file Password.php.
Xoops\Form\Password::__construct | ( | $caption, | |
$name, | |||
$size, | |||
$maxlength, | |||
$value = '' , |
|||
$autoComplete = false , |
|||
$placeholder = '' |
|||
) |
__construct
string | $caption | Caption |
string | $name | name attribute |
integer | $size | Size of the field |
integer | $maxlength | Maximum length of the text |
string | $value | Initial value of the field - Warning: readable in cleartext in the page! |
boolean | $autoComplete | To enable autoComplete or browser cache |
string | $placeholder | placeholder for this element. |
Definition at line 69 of file Password.php.
References Xoops\Form\Element\$caption, $name, Xoops\Form\Element\$value, Xoops\Html\Attributes\setAttribute(), Xoops\Form\Element\setCaption(), and Xoops\Form\Element\setValue().
Xoops\Form\Password::getMaxlength | ( | ) |
Get the max length
Definition at line 105 of file Password.php.
References Xoops\Html\Attributes\getAttribute().
Xoops\Form\Password::getPlaceholder | ( | ) |
Get placeholder for this element
Definition at line 115 of file Password.php.
References Xoops\Html\Attributes\setAttribute().
Xoops\Form\Password::getSize | ( | ) |
Get the field size
Definition at line 95 of file Password.php.
References Xoops\Html\Attributes\getAttribute().
Referenced by Xoops\Form\Password\render().
Xoops\Form\Password::render | ( | ) |
Prepare HTML for output
Definition at line 125 of file Password.php.
References Xoops\Html\Attributes\$attributes, Xoops\Form\Element\$maxcols, Xoops\Html\Attributes\addAttribute(), Xoops\Form\Element\getExtra(), Xoops\Form\Element\getMaxcols(), Xoops\Form\Password\getSize(), Xoops\Form\Element\getValue(), and Xoops\Form\Element\renderAttributeString().