XOOPS 2.5.6
Final
|
Public Member Functions | |
getMaxlength () | |
getSize () | |
getValue ($encode=false) | |
render () | |
setValue ($value) | |
XoopsFormText ($caption, $name, $size, $maxlength, $value= '') | |
Public Member Functions inherited from XoopsFormElement | |
getAccessKey () | |
getAccessString ($str) | |
getCaption ($encode=false) | |
getClass () | |
getDescription ($encode=false) | |
getExtra ($encode=false) | |
getFormType () | |
getName ($encode=true) | |
getNocolspan () | |
getTitle ($encode=true) | |
isContainer () | |
isHidden () | |
isRequired () | |
render () | |
renderValidationJS () | |
setAccessKey ($key) | |
setCaption ($caption) | |
setClass ($class) | |
setDescription ($description) | |
setExtra ($extra, $replace=false) | |
setFormType ($value= '') | |
setHidden () | |
setName ($name) | |
setNocolspan ($nocolspan=true) | |
XoopsFormElement () | |
Public Attributes | |
$_maxlength | |
$_size | |
$_value | |
Public Attributes inherited from XoopsFormElement | |
$_accesskey = '' | |
$_caption | |
$_class = array() | |
$_description = '' | |
$_extra = array() | |
$_formtype = '' | |
$_hidden = false | |
$_name | |
$_nocolspan = false | |
$_required = false | |
$customValidationCode = array() | |
A simple text field
Definition at line 26 of file formtext.php.
XoopsFormText::getMaxlength | ( | ) |
XoopsFormText::getSize | ( | ) |
XoopsFormText::getValue | ( | $encode = false | ) |
Get initial content
bool | $encode | To sanitizer the text? Default value should be "true"; however we have to set "false" for backward compat |
Definition at line 96 of file formtext.php.
XoopsFormText::render | ( | ) |
XoopsFormText::setValue | ( | $value | ) |
XoopsFormText::XoopsFormText | ( | $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 61 of file formtext.php.
XoopsFormText::$_maxlength |
Definition at line 42 of file formtext.php.
XoopsFormText::$_size |
Definition at line 34 of file formtext.php.
XoopsFormText::$_value |
Definition at line 50 of file formtext.php.