ILIAS
trunk Revision v11.0_alpha-2645-g16283d3b3f8
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Public Member Functions | |
setMaxTags (int $max_tags) | |
setMaxChars (int $max_chars) | |
setAllowDuplicates (bool $allow_duplicates) | |
setJsSelfInit (bool $js_self_init) | |
setTypeAheadIgnoreCase (bool $type_ahead_ignore_case) | |
setTypeAheadMinLength (int $min_length) | |
setTypeAheadLimit (int $limit) | |
setTypeAheadHighlight (bool $highlight) | |
setTypeAheadList (array $type_ahead_list) | |
setOptions (?array $a_options) | |
getOptions () | |
__construct (string $a_title='', string $a_postvar='') | |
setValueByArray ($a_values) | |
Set value by array. More... | |
checkInput () | |
render () | |
insert (ilTemplate $tpl) | |
![]() | |
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) | |
![]() | |
__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... | |
Additional Inherited Members | |
![]() | |
static | removeProhibitedCharacters (string $a_text) |
Remove prohibited characters see #19159. More... | |
![]() | |
symbol () | |
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 This class represents a tag list property in a property form.
Definition at line 24 of file class.ilTagInputGUI.php.
ilTagInputGUI::__construct | ( | string | $a_title = '' , |
string | $a_postvar = '' |
||
) |
Definition at line 95 of file class.ilTagInputGUI.php.
References $DIC, ILIAS\GlobalScreen\Provider\__construct(), ILIAS\Repository\lng(), and ilFormPropertyGUI\setType().
ilTagInputGUI::checkInput | ( | ) |
Definition at line 120 of file class.ilTagInputGUI.php.
References ilFormPropertyGUI\$lng, $valid, ilSubEnabledFormPropertyGUI\checkSubItemsInput(), ilFormPropertyGUI\getPostVar(), ilFormPropertyGUI\getRequired(), ilFormPropertyGUI\setAlert(), ilFormPropertyGUI\strArray(), and ilLanguage\txt().
ilTagInputGUI::getOptions | ( | ) |
Definition at line 90 of file class.ilTagInputGUI.php.
Referenced by render().
ilTagInputGUI::insert | ( | ilTemplate | $tpl | ) |
Definition at line 176 of file class.ilTagInputGUI.php.
References ilTemplate\parseCurrentBlock(), render(), ilTemplate\setCurrentBlock(), and HTML_Template_IT\setVariable().
ilTagInputGUI::render | ( | ) |
Definition at line 133 of file class.ilTagInputGUI.php.
References $allow_duplicates, $id, $max_chars, $max_tags, $type_ahead_highlight, $type_ahead_limit, $type_ahead_min_length, ILIAS\UICore\GlobalTemplate\get(), ilFormPropertyGUI\getFieldId(), getOptions(), ilFormPropertyGUI\getPostVar(), ILIAS\UICore\GlobalTemplate\parseCurrentBlock(), ilLegacyFormElementsUtil\prepareFormOutput(), ILIAS\UICore\GlobalTemplate\setCurrentBlock(), and ILIAS\UICore\GlobalTemplate\setVariable().
Referenced by insert().
ilTagInputGUI::setAllowDuplicates | ( | bool | $allow_duplicates | ) |
ilTagInputGUI::setJsSelfInit | ( | bool | $js_self_init | ) |
ilTagInputGUI::setMaxChars | ( | int | $max_chars | ) |
ilTagInputGUI::setMaxTags | ( | int | $max_tags | ) |
ilTagInputGUI::setOptions | ( | ?array | $a_options | ) |
Definition at line 85 of file class.ilTagInputGUI.php.
Referenced by setValueByArray().
ilTagInputGUI::setTypeAheadHighlight | ( | bool | $highlight | ) |
Definition at line 75 of file class.ilTagInputGUI.php.
ilTagInputGUI::setTypeAheadIgnoreCase | ( | bool | $type_ahead_ignore_case | ) |
Definition at line 60 of file class.ilTagInputGUI.php.
References $type_ahead_ignore_case.
ilTagInputGUI::setTypeAheadLimit | ( | int | $limit | ) |
Definition at line 70 of file class.ilTagInputGUI.php.
ilTagInputGUI::setTypeAheadList | ( | array | $type_ahead_list | ) |
ilTagInputGUI::setTypeAheadMinLength | ( | int | $min_length | ) |
Definition at line 65 of file class.ilTagInputGUI.php.
ilTagInputGUI::setValueByArray | ( | $a_values | ) |
Set value by array.
array | $a_values | value array |
Definition at line 112 of file class.ilTagInputGUI.php.
References ilFormPropertyGUI\getPostVar(), ilSubEnabledFormPropertyGUI\getSubItems(), and setOptions().
|
protected |
Definition at line 31 of file class.ilTagInputGUI.php.
Referenced by render(), and setAllowDuplicates().
|
protected |
Definition at line 32 of file class.ilTagInputGUI.php.
Referenced by setJsSelfInit().
|
protected |
Definition at line 30 of file class.ilTagInputGUI.php.
Referenced by render(), and setMaxChars().
|
protected |
Definition at line 29 of file class.ilTagInputGUI.php.
Referenced by render(), and setMaxTags().
|
protected |
Definition at line 28 of file class.ilTagInputGUI.php.
|
protected |
Definition at line 26 of file class.ilTagInputGUI.php.
|
protected |
Definition at line 38 of file class.ilTagInputGUI.php.
Referenced by render().
|
protected |
Definition at line 34 of file class.ilTagInputGUI.php.
Referenced by setTypeAheadIgnoreCase().
|
protected |
Definition at line 37 of file class.ilTagInputGUI.php.
Referenced by render().
|
protected |
Definition at line 35 of file class.ilTagInputGUI.php.
Referenced by setTypeAheadList().
|
protected |
Definition at line 36 of file class.ilTagInputGUI.php.
Referenced by render().