XOOPS
2.6.0
|
Public Member Functions | |
__construct ($caption, $name, $value= '#FFFFFF') | |
render () | |
renderValidationJS () | |
Public Member Functions inherited from Xoops\Form\Text | |
__construct ($caption, $name, $size, $maxlength, $value= '', $placeholder= '') | |
getMaxlength () | |
getPlaceholder () | |
getSize () | |
render () | |
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\Element | |
$value = '' | |
Protected Attributes inherited from Xoops\Html\Attributes | |
$attributes = array() | |
Definition at line 26 of file ColorPicker.php.
Xoops\Form\ColorPicker::__construct | ( | $caption, | |
$name, | |||
$value = '#FFFFFF' |
|||
) |
__construct
string | $caption | field caption |
string | $name | field name |
string | $value | field value |
Definition at line 35 of file ColorPicker.php.
References Xoops\Form\Element\$caption, $name, and Xoops\Form\Element\$value.
Xoops\Form\ColorPicker::render | ( | ) |
render
Definition at line 45 of file ColorPicker.php.
References $xoops, XoopsBaseConfig\get(), Xoops\getInstance(), Xoops\Form\Element\getName(), Xoops\Form\Element\getValue(), and Xoops\Form\Element\setExtra().
Xoops\Form\ColorPicker::renderValidationJS | ( | ) |
Returns custom validation Javascript
Definition at line 64 of file ColorPicker.php.
References XoopsLocaleEn_US\F_ENTER, Xoops\Form\Element\getCaption(), and Xoops\Form\Element\getName().