XOOPS
2.6.0
|
Public Member Functions | |
__construct ($caption, $name, $value=null, $size=1) | |
Public Member Functions inherited from Xoops\Form\Select | |
__construct ($caption, $name, $value=null, $size=1, $multiple=false) | |
addOptgroup ($name, $optgroup) | |
addOption ($value, $name= '') | |
addOptionArray ($options) | |
getOptgroup () | |
getOptions ($encode=false) | |
getSize () | |
isMultiple () | |
render () | |
renderValidationJS () | |
Public Member Functions inherited from Xoops\Form\Element | |
getAccessKey () | |
getAccessString ($str) | |
getCaption () | |
getClass () | |
getDatalist () | |
getDescription ($encode=false) | |
getExtra ($encode=false) | |
getMaxcols () | |
getName () | |
getPattern () | |
getPatternDescription () | |
getTitle () | |
getValue ($encode=false) | |
isDatalist () | |
isHidden () | |
isRequired () | |
render () | |
renderAttributeString () | |
renderValidationJS () | |
setAccessKey ($key) | |
setCaption ($caption) | |
setClass ($class) | |
setDatalist ($datalist) | |
setDescription ($description) | |
setExtra ($extra, $replace=false) | |
setHidden () | |
setName ($name) | |
setPattern ($pattern, $pattern_description= '') | |
setRequired ($bool=true) | |
setTitle ($title) | |
setValue ($value) | |
Public Member Functions inherited from Xoops\Html\Attributes | |
addAttribute ($name, $value) | |
getAttribute ($name) | |
hasAttribute ($name) | |
renderAttributeString () | |
setAttribute ($name, $value=null) | |
setAttributes ($values) | |
unsetAttribute ($name) | |
Additional Inherited Members | |
Public Attributes inherited from Xoops\Form\Element | |
$customValidationCode = array() | |
Protected Attributes inherited from Xoops\Form\Select | |
$value = array() | |
Protected Attributes inherited from Xoops\Form\Element | |
$value = '' | |
Protected Attributes inherited from Xoops\Html\Attributes | |
$attributes = array() | |
Definition at line 25 of file SelectMatchOption.php.
Xoops\Form\SelectMatchOption::__construct | ( | $caption, | |
$name, | |||
$value = null , |
|||
$size = 1 |
|||
) |
Constructor
string | $caption | caption |
string | $name | name |
mixed | $value | Pre-selected value (or array of them). |
integer | $size | Number of rows. "1" makes a drop-down-list |
Definition at line 35 of file SelectMatchOption.php.
References Xoops\Form\Element\$caption, $name, Xoops\Form\Select\$value, Xoops\Form\Select\addOption(), XoopsLocaleEn_US\CONTAINS, XoopsLocaleEn_US\ENDS_WITH, XoopsLocaleEn_US\MATCHES, XoopsLocaleEn_US\STARTS_WITH, XOOPS_MATCH_CONTAIN, XOOPS_MATCH_END, XOOPS_MATCH_EQUAL, and XOOPS_MATCH_START.