API - XOOPS 2.5.11 Beta 2
By monxoops.fr
|
Public Member Functions | |
__construct ($name, $value) | |
getValue ($encode=false) | |
setValue ($value) | |
render () | |
Public Member Functions inherited from XoopsFormElement | |
__construct () | |
isContainer () | |
setName ($name) | |
getName ($encode=true) | |
setAccessKey ($key) | |
getAccessKey () | |
getAccessString ($str) | |
setClass ($class) | |
getClass () | |
setCaption ($caption) | |
getCaption ($encode=false) | |
getTitle ($encode=true) | |
setDescription ($description) | |
getDescription ($encode=false) | |
setHidden () | |
isHidden () | |
isRequired () | |
setExtra ($extra, $replace=false) | |
getExtra ($encode=false) | |
setNocolspan ($nocolspan=true) | |
getNocolspan () | |
getFormType () | |
setFormType ($value='') | |
renderValidationJS () | |
render () | |
Data Fields | |
$_value | |
Data Fields inherited from XoopsFormElement | |
$customValidationCode = array() | |
$_name | |
$_caption | |
$_accesskey = '' | |
$_class = array() | |
$_hidden = false | |
$_extra = array() | |
$_required = false | |
$_description = '' | |
$_nocolspan = false | |
$_formtype = '' | |
A hidden field
__construct | ( | $name, | |
$value | |||
) |
Constructor
string | $name | "name" attribute |
string | $value | "value" attribute |
Reimplemented in XoopsFormHiddenToken.
getValue | ( | $encode = false | ) |
Get the "value" attribute
bool | $encode | To sanitizer the text? |
render | ( | ) |
Prepare HTML for output
Reimplemented from XoopsFormElement.
setValue | ( | $value | ) |
Sets the "value" attribute
@patam $value string
$value |
$_value |