XCL Web Application Platform 2.5.0
The XoopsCube Legacy Project
|
Public Member Functions | |
__construct ($caption, $name, $size, $maxlength, $value='') | |
XoopsFormText ($caption, $name, $size, $maxlength, $value='') | |
getSize () | |
getMaxlength () | |
getValue () | |
setValue ($value) | |
render () | |
![]() | |
__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 | |
![]() | |
$_name | |
$_caption | |
$_accesskey = '' | |
$_class = '' | |
$_hidden = false | |
$_extra = '' | |
$_required = false | |
$_description = '' | |
$_id = null | |
A simple text field
Definition at line 21 of file formtext.php.
__construct | ( | $caption, | |
$name, | |||
$size, | |||
$maxlength, | |||
$value = '' ) |
Constructor
string | $caption | Caption |
string | $name | "name" attribute |
int | $size | Size |
int | $maxlength | Maximum length of text |
string | $value | Initial text |
Definition at line 56 of file formtext.php.
getMaxlength | ( | ) |
getSize | ( | ) |
getValue | ( | ) |
render | ( | ) |
Prepare HTML for output
Reimplemented from XoopsFormElement.
Reimplemented in XoopsFormTextDateSelect.
Definition at line 114 of file formtext.php.
setValue | ( | $value | ) |
XoopsFormText | ( | $caption, | |
$name, | |||
$size, | |||
$maxlength, | |||
$value = '' ) |
Definition at line 64 of file formtext.php.
$_maxlength |
Definition at line 37 of file formtext.php.
$_size |
Definition at line 29 of file formtext.php.
$_value |
Definition at line 45 of file formtext.php.