|
ILIAS
release_8 Revision v8.24
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Inheritance diagram for ilColorPickerInputGUI:
Collaboration diagram for ilColorPickerInputGUI:Public Member Functions | |
| __construct (string $a_title="", string $a_postvar="") | |
| checkInput () | |
| Check input, strip slashes etc. More... | |
| getInput () | |
| setValueByArray (array $a_values) | |
| setValue ($a_value) | |
| setDefaultColor (string $a_defaultcolor) | |
| getDefaultColor () | |
| setAcceptNamedColors (bool $a_acceptnamedcolors) | |
| getAcceptNamedColors () | |
| getHexcode () | |
| insert (ilTemplate $a_tpl) | |
Public Member Functions inherited from ilTextInputGUI | |
| __construct (string $a_title="", string $a_postvar="") | |
| setValue ($a_value) | |
| getValue () | |
| setValidationFailureMessage (string $a_msg) | |
| getValidationFailureMessage () | |
| setValidationRegexp (string $a_value) | |
| getValidationRegexp () | |
| setMaxLength (?int $a_maxlength) | |
| getMaxLength () | |
| setSize (int $a_size) | |
| setInlineStyle (string $a_style) | |
| getInlineStyle () | |
| setCssClass (string $a_class) | |
| getCssClass () | |
| setValueByArray (array $a_values) | |
| getSize () | |
| setSuffix (string $a_value) | |
| getSuffix () | |
| setInputType (string $a_type) | |
| set input type More... | |
| getInputType () | |
| setSubmitFormOnEnter (bool $a_val) | |
| getSubmitFormOnEnter () | |
| checkInput () | |
| Check input, strip slashes etc. More... | |
| getInput () | |
| getDataSource () | |
| setDataSource (string $href, string $a_delimiter=null) | |
| setDataSourceSubmitOnSelection (bool $a_stat) | |
| getDataSourceSubmitOnSelection () | |
| setDataSourceSubmitUrl (string $a_url) | |
| getDataSourceSubmitUrl () | |
| setMultiValues (array $a_values) | |
| render (string $a_mode="") | |
| insert (ilTemplate $a_tpl) | |
| getTableFilterHTML () | |
| Get input item HTML to be inserted into table filters. More... | |
| getToolbarHTML () | |
| Get input item HTML to be inserted into ilToolbarGUI. More... | |
| setDisableHtmlAutoComplete (bool $autocomplete) | |
| isHtmlAutoCompleteDisabled () | |
| getPostValueForComparison () | |
Public Member Functions inherited from ilSubEnabledFormPropertyGUI | |
| addSubItem (ilFormPropertyGUI $a_item) | |
| getSubItems () | |
| getSubInputItemsRecursive () | |
| returns a flat array of possibly existing subitems recursively More... | |
| checkSubItemsInput () | |
| Check SubItems. More... | |
| getSubForm () | |
| getItemByPostVar (string $a_post_var) | |
| Get item by post var. More... | |
Public Member Functions inherited from ilFormPropertyGUI | |
| __construct (string $a_title="", string $a_postvar="") | |
| executeCommand () | |
| getType () | |
| setTitle (string $a_title) | |
| getTitle () | |
| setPostVar (string $a_postvar) | |
| getPostVar () | |
| getFieldId () | |
| setInfo (string $a_info) | |
| getInfo () | |
| setAlert (string $a_alert) | |
| getAlert () | |
| setRequired (bool $a_required) | |
| getRequired () | |
| setDisabled (bool $a_disabled) | |
| getDisabled () | |
| checkInput () | |
| Check input, strip slashes etc. More... | |
| setParentForm (ilPropertyFormGUI $a_parentform) | |
| getParentForm () | |
| setParent (ilFormPropertyGUI $a_val) | |
| getParent () | |
| getSubForm () | |
| hideSubForm () | |
| setHiddenTitle (string $a_val) | |
| getHiddenTitle () | |
| getItemByPostVar (string $a_post_var) | |
| Get item by post var. More... | |
| serializeData () | |
| unserializeData (string $a_data) | |
| setParentTable ($a_val) | |
| Set parent table. More... | |
| getParentTable () | |
| Get parent table. More... | |
| writeToSession () | |
| clearFromSession () | |
| readFromSession () | |
| getHiddenTag (string $a_post_var, string $a_value) | |
| setMulti (bool $a_multi, bool $a_sortable=false, bool $a_addremove=true) | |
| getMulti () | |
| setMultiValues (array $a_values) | |
| getMultiValues () | |
| getContentOutsideFormTag () | |
| Get content that has to reside outside of the parent form tag, e.g. More... | |
| stripSlashesAddSpaceFallback (string $a_str) | |
| Strip slashes with add space fallback, see https://www.ilias.de/mantis/view.php?id=19727. More... | |
| getTableFilterLabelFor () | |
| Get label "for" attribute value for filter. More... | |
| getFormLabelFor () | |
| Get label "for" attribute value for form. More... | |
| setRequestParam (string $key, $val) | |
| This writes the request (aka post) values. More... | |
Public Member Functions inherited from ilTableFilterItem | |
| getTableFilterHTML () | |
| Get input item HTML to be inserted into table filters. More... | |
| getTableFilterLabelFor () | |
| Get label "for" attribute value. More... | |
| getToolbarHTML () | |
| Get input item HTML to be inserted into ilToolbarGUI. More... | |
Static Public Member Functions | |
| static | determineHexcode (string $a_value) |
Static Public Member Functions inherited from ilFormPropertyGUI | |
| static | removeProhibitedCharacters (string $a_text) |
| Remove prohibited characters see #19159. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from ilFormPropertyGUI | |
| setType (string $a_type) | |
| checkParentFormTable () | |
| getSessionKey () | |
| getMultiIconsHTML () | |
| int ($key) | |
| intArray ($key) | |
| str ($key) | |
| raw ($key) | |
| strArray ($key) | |
| arrayArray ($key) | |
| isRequestParamArray (string $key) | |
| getRequestParam (string $key, Refinery\Transformation $t) | |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Color picker form for selecting color hexcodes using yui library
Definition at line 26 of file class.ilColorPickerInputGUI.php.
| ilColorPickerInputGUI::__construct | ( | string | $a_title = "", |
| string | $a_postvar = "" |
||
| ) |
Reimplemented from ilTextInputGUI.
Definition at line 32 of file class.ilColorPickerInputGUI.php.
References ILIAS\GlobalScreen\Provider\__construct(), setDefaultColor(), and ilFormPropertyGUI\setType().
Here is the call graph for this function:| ilColorPickerInputGUI::checkInput | ( | ) |
Check input, strip slashes etc.
set alert, if input is not ok.
Reimplemented from ilTextInputGUI.
Definition at line 41 of file class.ilColorPickerInputGUI.php.
References getInput(), ilFormPropertyGUI\getRequired(), ILIAS\Repository\lng(), and ilFormPropertyGUI\setAlert().
Here is the call graph for this function:
|
static |
Definition at line 106 of file class.ilColorPickerInputGUI.php.
References Vendor\Package\$b.
Referenced by getInput(), insert(), ilTRBLColorPickerInputGUI\insert(), ilTRBLColorPickerInputGUI\setAllValue(), ilTRBLColorPickerInputGUI\setBottomValue(), ilTRBLColorPickerInputGUI\setLeftValue(), ilTRBLColorPickerInputGUI\setRightValue(), ilTRBLColorPickerInputGUI\setTopValue(), and setValue().
Here is the caller graph for this function:| ilColorPickerInputGUI::getAcceptNamedColors | ( | ) |
Definition at line 93 of file class.ilColorPickerInputGUI.php.
References $acceptnamedcolors.
Referenced by getInput(), insert(), and setValue().
Here is the caller graph for this function:| ilColorPickerInputGUI::getDefaultColor | ( | ) |
Definition at line 82 of file class.ilColorPickerInputGUI.php.
References $defaultcolor.
Referenced by getHexcode().
Here is the caller graph for this function:| ilColorPickerInputGUI::getHexcode | ( | ) |
Definition at line 98 of file class.ilColorPickerInputGUI.php.
References getDefaultColor().
Referenced by insert(), and setValue().
Here is the call graph for this function:
Here is the caller graph for this function:| ilColorPickerInputGUI::getInput | ( | ) |
Reimplemented from ilTextInputGUI.
Definition at line 52 of file class.ilColorPickerInputGUI.php.
References ilTextInputGUI\$value, determineHexcode(), getAcceptNamedColors(), ilFormPropertyGUI\getPostVar(), and ilFormPropertyGUI\str().
Referenced by checkInput().
Here is the call graph for this function:
Here is the caller graph for this function:| ilColorPickerInputGUI::insert | ( | ilTemplate | $a_tpl | ) |
Reimplemented from ilTextInputGUI.
Definition at line 165 of file class.ilColorPickerInputGUI.php.
References $tpl, determineHexcode(), getAcceptNamedColors(), ilFormPropertyGUI\getDisabled(), ilFormPropertyGUI\getFieldId(), getHexcode(), ilFormPropertyGUI\getPostVar(), ilTextInputGUI\getValue(), ilTemplate\parseCurrentBlock(), ilLegacyFormElementsUtil\prepareFormOutput(), ilTemplate\setCurrentBlock(), and HTML_Template_IT\setVariable().
Here is the call graph for this function:| ilColorPickerInputGUI::setAcceptNamedColors | ( | bool | $a_acceptnamedcolors | ) |
Definition at line 88 of file class.ilColorPickerInputGUI.php.
| ilColorPickerInputGUI::setDefaultColor | ( | string | $a_defaultcolor | ) |
Definition at line 77 of file class.ilColorPickerInputGUI.php.
Referenced by __construct().
Here is the caller graph for this function:| ilColorPickerInputGUI::setValue | ( | $a_value | ) |
| string | array | $a_value |
Reimplemented from ilTextInputGUI.
Definition at line 66 of file class.ilColorPickerInputGUI.php.
References determineHexcode(), getAcceptNamedColors(), and getHexcode().
Referenced by setValueByArray().
Here is the call graph for this function:
Here is the caller graph for this function:| ilColorPickerInputGUI::setValueByArray | ( | array | $a_values | ) |
Reimplemented from ilTextInputGUI.
Definition at line 61 of file class.ilColorPickerInputGUI.php.
References ilFormPropertyGUI\getPostVar(), and setValue().
Here is the call graph for this function:
|
protected |
Definition at line 29 of file class.ilColorPickerInputGUI.php.
Referenced by getAcceptNamedColors().
|
protected |
Definition at line 30 of file class.ilColorPickerInputGUI.php.
Referenced by getDefaultColor().
|
protected |
Definition at line 28 of file class.ilColorPickerInputGUI.php.