ILIAS
release_4-3 Revision
|
Color picker form for selecting color hexcodes using yui library (all/top/right/bottom/left) More...
Public Member Functions | |
__construct ($a_title="", $a_postvar="") | |
Constructor. | |
setAllValue ($a_allvalue) | |
Set All Value. | |
getAllValue () | |
Get All Value. | |
setTopValue ($a_topvalue) | |
Set Top Value. | |
getTopValue () | |
Get Top Value. | |
setBottomValue ($a_bottomvalue) | |
Set Bottom Value. | |
getBottomValue () | |
Get Bottom Value. | |
setLeftValue ($a_leftvalue) | |
Set Left Value. | |
getLeftValue () | |
Get Left Value. | |
setRightValue ($a_rightvalue) | |
Set Right Value. | |
getRightValue () | |
Get Right Value. | |
setDefaultColor ($a_defaultcolor) | |
Set Default Color. | |
getDefaultColor () | |
Get Default Color. | |
setAcceptNamedColors ($a_acceptnamedcolors) | |
Set Accept Named Colors (Leading '!'). | |
getAcceptNamedColors () | |
Get Accept Named Colors (Leading '!'). | |
checkInput () | |
check input | |
insert ($a_tpl) | |
Insert property html. | |
Public Member Functions inherited from ilTextInputGUI | |
setValue ($a_value) | |
Set Value. | |
getValue () | |
Get Value. | |
setMulti ($a_multi, $a_sortable=false) | |
setValidationFailureMessage ($a_msg) | |
Set message string for validation failure. | |
getValidationFailureMessage () | |
setValidationRegexp ($a_value) | |
Set validation regexp. | |
getValidationRegexp () | |
Get validation regexp. | |
setMaxLength ($a_maxlength) | |
Set Max Length. | |
getMaxLength () | |
Get Max Length. | |
setSize ($a_size) | |
Set Size. | |
setInlineStyle ($a_style) | |
Set inline style. | |
getInlineStyle () | |
Get inline style. | |
setCssClass ($a_class) | |
getCssClass () | |
setValueByArray ($a_values) | |
Set value by array. | |
getSize () | |
Get Size. | |
setSuffix ($a_value) | |
Set suffix. | |
getSuffix () | |
Get suffix. | |
setInputType ($a_type) | |
set input type | |
getInputType () | |
get input type | |
setSubmitFormOnEnter ($a_val) | |
Set submit form on enter. | |
getSubmitFormOnEnter () | |
Get submit form on enter. | |
getDataSource () | |
get datasource link for js autocomplete | |
setDataSource ($href) | |
set datasource link for js autocomplete | |
setMultiValues (array $a_values) | |
Set multi values. | |
insert (&$a_tpl) | |
Insert property html. | |
getTableFilterHTML () | |
Get HTML for table filter. | |
getToolbarHTML () | |
Get HTML for toolbar. | |
Public Member Functions inherited from ilSubEnabledFormPropertyGUI | |
addSubItem ($a_item) | |
Add Subitem. | |
getSubItems () | |
Get Subitems. | |
checkSubItemsInput () | |
Check SubItems. | |
getSubForm () | |
Get sub form html. | |
getItemByPostVar ($a_post_var) | |
Get item by post var. | |
Public Member Functions inherited from ilFormPropertyGUI | |
& | executeCommand () |
Execute command. | |
getType () | |
Get Type. | |
setTitle ($a_title) | |
Set Title. | |
getTitle () | |
Get Title. | |
setPostVar ($a_postvar) | |
Set Post Variable. | |
getPostVar () | |
Get Post Variable. | |
getFieldId () | |
Get Post Variable. | |
setInfo ($a_info) | |
Set Information Text. | |
getInfo () | |
Get Information Text. | |
setAlert ($a_alert) | |
Set Alert Text. | |
getAlert () | |
Get Alert Text. | |
setRequired ($a_required) | |
Set Required. | |
getRequired () | |
Get Required. | |
setDisabled ($a_disabled) | |
Set Disabled. | |
getDisabled () | |
Get Disabled. | |
setParentForm ($a_parentform) | |
Set Parent Form. | |
getParentForm () | |
Get Parent Form. | |
setParent ($a_val) | |
Set Parent GUI object. | |
getParent () | |
Get Parent GUI object. | |
hideSubForm () | |
Sub form hidden on init? | |
setHiddenTitle ($a_val) | |
Set hidden title (for screenreaders) | |
getHiddenTitle () | |
Get hidden title. | |
serializeData () | |
serialize data | |
unserializeData ($a_data) | |
unserialize data | |
writeToSession () | |
Write to session. | |
clearFromSession () | |
Clear session value. | |
readFromSession () | |
Read from session. | |
getHiddenTag ($a_post_var, $a_value) | |
Get hidden tag (used for disabled properties) | |
setMulti ($a_multi) | |
Set Multi. | |
getMulti () | |
Get Multi. | |
getMultiValues () | |
Get multi values. |
Protected Attributes | |
$hex | |
Protected Attributes inherited from ilTextInputGUI | |
$value | |
$maxlength = 200 | |
$size = 40 | |
$validationRegexp | |
$validationFailureMessage = '' | |
$suffix | |
$style_css | |
$css_class | |
$ajax_datasource | |
$submit_form_on_enter = false | |
Protected Attributes inherited from ilSubEnabledFormPropertyGUI | |
$sub_items = array() | |
Protected Attributes inherited from ilFormPropertyGUI | |
$type | |
$title | |
$postvar | |
$info | |
$alert | |
$required = false | |
$parentgui | |
$parentform | |
$hidden_title = "" | |
$multi | |
$multi_values |
Additional Inherited Members | |
Protected Member Functions inherited from ilTextInputGUI | |
render ($a_mode="") | |
Render item. |
Color picker form for selecting color hexcodes using yui library (all/top/right/bottom/left)
Definition at line 33 of file class.ilTRBLColorPickerInputGUI.php.
ilTRBLColorPickerInputGUI::__construct | ( | $a_title = "" , |
|
$a_postvar = "" |
|||
) |
Constructor.
string | $a_title | Title |
string | $a_postvar | Post Variable |
Reimplemented from ilTextInputGUI.
Definition at line 44 of file class.ilTRBLColorPickerInputGUI.php.
References ilFormPropertyGUI\setType().
ilTRBLColorPickerInputGUI::checkInput | ( | ) |
check input
public
Reimplemented from ilTextInputGUI.
Definition at line 237 of file class.ilTRBLColorPickerInputGUI.php.
References $_POST, ilTextInputGUI\$value, ilFormPropertyGUI\getPostVar(), setAllValue(), setBottomValue(), setLeftValue(), setRightValue(), setTopValue(), and ilUtil\stripSlashes().
ilTRBLColorPickerInputGUI::getAcceptNamedColors | ( | ) |
Get Accept Named Colors (Leading '!').
Definition at line 226 of file class.ilTRBLColorPickerInputGUI.php.
Referenced by insert(), setAllValue(), setBottomValue(), setLeftValue(), setRightValue(), and setTopValue().
ilTRBLColorPickerInputGUI::getAllValue | ( | ) |
Get All Value.
Definition at line 74 of file class.ilTRBLColorPickerInputGUI.php.
ilTRBLColorPickerInputGUI::getBottomValue | ( | ) |
Get Bottom Value.
Definition at line 130 of file class.ilTRBLColorPickerInputGUI.php.
ilTRBLColorPickerInputGUI::getDefaultColor | ( | ) |
Get Default Color.
Definition at line 206 of file class.ilTRBLColorPickerInputGUI.php.
ilTRBLColorPickerInputGUI::getLeftValue | ( | ) |
Get Left Value.
Definition at line 158 of file class.ilTRBLColorPickerInputGUI.php.
ilTRBLColorPickerInputGUI::getRightValue | ( | ) |
Get Right Value.
Definition at line 186 of file class.ilTRBLColorPickerInputGUI.php.
ilTRBLColorPickerInputGUI::getTopValue | ( | ) |
Get Top Value.
Definition at line 102 of file class.ilTRBLColorPickerInputGUI.php.
ilTRBLColorPickerInputGUI::insert | ( | $a_tpl | ) |
Insert property html.
Definition at line 264 of file class.ilTRBLColorPickerInputGUI.php.
References $lng, ilTextInputGUI\$value, ilColorPickerInputGUI\determineHexcode(), getAcceptNamedColors(), ilFormPropertyGUI\getDisabled(), ilFormPropertyGUI\getFieldId(), ilUtil\getImagePath(), ilFormPropertyGUI\getPostVar(), and ilYuiUtil\initColorPicker().
ilTRBLColorPickerInputGUI::setAcceptNamedColors | ( | $a_acceptnamedcolors | ) |
Set Accept Named Colors (Leading '!').
boolean | $a_acceptnamedcolors | Accept Named Colors (Leading '!') |
Definition at line 216 of file class.ilTRBLColorPickerInputGUI.php.
Referenced by ilObjStyleSheetGUI\initTagStyleForm().
ilTRBLColorPickerInputGUI::setAllValue | ( | $a_allvalue | ) |
Set All Value.
string | $a_allvalue | All Value |
Definition at line 56 of file class.ilTRBLColorPickerInputGUI.php.
References ilColorPickerInputGUI\determineHexcode(), and getAcceptNamedColors().
Referenced by checkInput().
ilTRBLColorPickerInputGUI::setBottomValue | ( | $a_bottomvalue | ) |
Set Bottom Value.
string | $a_bottomvalue | Bottom Value |
Definition at line 112 of file class.ilTRBLColorPickerInputGUI.php.
References ilColorPickerInputGUI\determineHexcode(), and getAcceptNamedColors().
Referenced by checkInput().
ilTRBLColorPickerInputGUI::setDefaultColor | ( | $a_defaultcolor | ) |
Set Default Color.
mixed | $a_defaultcolor | Default Color |
Definition at line 196 of file class.ilTRBLColorPickerInputGUI.php.
ilTRBLColorPickerInputGUI::setLeftValue | ( | $a_leftvalue | ) |
Set Left Value.
string | $a_leftvalue | Left Value |
Definition at line 140 of file class.ilTRBLColorPickerInputGUI.php.
References ilColorPickerInputGUI\determineHexcode(), and getAcceptNamedColors().
Referenced by checkInput().
ilTRBLColorPickerInputGUI::setRightValue | ( | $a_rightvalue | ) |
Set Right Value.
string | $a_rightvalue | Right Value |
Definition at line 168 of file class.ilTRBLColorPickerInputGUI.php.
References ilColorPickerInputGUI\determineHexcode(), and getAcceptNamedColors().
Referenced by checkInput().
ilTRBLColorPickerInputGUI::setTopValue | ( | $a_topvalue | ) |
Set Top Value.
string | $a_topvalue | Top Value |
Definition at line 84 of file class.ilTRBLColorPickerInputGUI.php.
References ilColorPickerInputGUI\determineHexcode(), and getAcceptNamedColors().
Referenced by checkInput().
|
protected |
Definition at line 35 of file class.ilTRBLColorPickerInputGUI.php.