|
XCL Web Application Platform 2.5.0
The XoopsCube Legacy Project
|
Public Member Functions | |
| __construct ($caption, $name, $value=null) | |
| XoopsFormCheckBox ($caption, $name, $value=null) | |
| getValue () | |
| setValue ($value) | |
| addOption ($value, $name='') | |
| addOptionArray ($options) | |
| getOptions () | |
| render () | |
Public Member Functions inherited from XoopsFormElement | |
| __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 | |
| $_options = [] | |
| $_value = [] | |
Data Fields inherited from XoopsFormElement | |
| $_name | |
| $_caption | |
| $_accesskey = '' | |
| $_class = '' | |
| $_hidden = false | |
| $_extra = '' | |
| $_required = false | |
| $_description = '' | |
| $_id = null | |
Definition at line 17 of file formcheckbox.php.
| __construct | ( | $caption, | |
| $name, | |||
| $value = null ) |
Constructor
| string | $caption | |
| string | $name | |
| mixed | $value | Either one value as a string or an array of them. |
Definition at line 41 of file formcheckbox.php.
| addOption | ( | $value, | |
| $name = '' ) |
| addOptionArray | ( | $options | ) |
Add multiple Options at once
| array | $options | Associative array of value->name pairs |
Definition at line 101 of file formcheckbox.php.
| getOptions | ( | ) |
Get an array with all the options
Definition at line 115 of file formcheckbox.php.
| getValue | ( | ) |
| render | ( | ) |
prepare HTML for output
Reimplemented from XoopsFormElement.
Definition at line 125 of file formcheckbox.php.
| setValue | ( | $value | ) |
| XoopsFormCheckBox | ( | $caption, | |
| $name, | |||
| $value = null ) |
Definition at line 49 of file formcheckbox.php.
| $_options = [] |
Definition at line 25 of file formcheckbox.php.
| $_value = [] |
Definition at line 32 of file formcheckbox.php.