API - XOOPS 2.5.11 Beta 2
By monxoops.fr
|
Public Member Functions | |
__construct ($caption, $name, $value=null, $yes=_YES, $no=_NO) | |
Public Member Functions inherited from XoopsFormRadio | |
__construct ($caption, $name, $value=null, $delimeter=' ') | |
getValue ($encode=false) | |
setValue ($value) | |
addOption ($value, $name='') | |
addOptionArray ($options) | |
getOptions ($encode=false) | |
getDelimeter ($encode=false) | |
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 () | |
Additional Inherited Members | |
Data Fields inherited from XoopsFormRadio | |
$_options = array() | |
$_value | |
$columns | |
$_delimeter | |
Data Fields inherited from XoopsFormElement | |
$customValidationCode = array() | |
$_name | |
$_caption | |
$_accesskey = '' | |
$_class = array() | |
$_hidden = false | |
$_extra = array() | |
$_required = false | |
$_description = '' | |
$_nocolspan = false | |
$_formtype = '' | |
Yes/No radio buttons.
A pair of radio buttons labelled _YES and _NO with values 1 and 0
Constructor
string | $caption | |
string | $name | |
string | $value | Pre-selected value, can be "0" (No) or "1" (Yes) |
string | $yes | String for "Yes" |
string | $no | String for "No" |