|
ILIAS
release_8 Revision v8.25
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Inheritance diagram for ilTagInputGUI:
Collaboration diagram for ilTagInputGUI:Public Member Functions | |
| setMaxTags ($max_tags) | |
| setMaxChars ($max_chars) | |
| setAllowDuplicates ($allow_duplicates) | |
| setJsSelfInit ($js_self_init) | |
| setTypeAheadIgnoreCase ($type_ahead_ignore_case) | |
| setTypeAheadMinLength ($min_length) | |
| setTypeAheadLimit ($limit) | |
| setTypeAheadHighlight ($highlight) | |
| setTypeAheadList ($type_ahead_list) | |
| setOptions ($a_options) | |
| Set Options. More... | |
| getOptions () | |
| Get Options. More... | |
| __construct ($a_title="", $a_postvar="") | |
| Constructor. More... | |
| setValueByArray ($a_values) | |
| Set value by array. More... | |
| checkInput () | |
| Check input, strip slashes etc. More... | |
| render () | |
| insert ($a_tpl) | |
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... | |
Protected Attributes | |
| ilGlobalTemplateInterface | $tpl |
| $options = array() | |
| $max_tags = 0 | |
| $max_chars = 0 | |
| $allow_duplicates = false | |
| $js_self_init = true | |
| $type_ahead_ignore_case = true | |
| $type_ahead_list = array() | |
| $type_ahead_min_length = 2 | |
| $type_ahead_limit = 30 | |
| $type_ahead_highlight = true | |
Protected Attributes inherited from ilSubEnabledFormPropertyGUI | |
| array | $sub_items = array() |
Protected Attributes inherited from ilFormPropertyGUI | |
| array | $set_params = [] |
| ilTable2GUI | $parent_table = null |
| ilFormPropertyGUI | $parent_gui = null |
| ilCtrl | $ctrl |
| ilLanguage | $lng |
| string | $type = "" |
| string | $title = "" |
| string | $postvar = "" |
| string | $info = "" |
| string | $alert = "" |
| bool | $required = false |
| ilPropertyFormGUI | $parentform = null |
| string | $hidden_title = "" |
| bool | $multi = false |
| bool | $multi_sortable = false |
| bool | $multi_addremove = true |
| array | $multi_values = [] |
| RequestInterface | $request |
| HTTP Services | $http |
| Refinery Factory | $refinery = null |
| bool | $disabled = false |
| ilGlobalTemplateInterface | $global_tpl = null |
Additional Inherited Members | |
Static Public Member Functions inherited from ilFormPropertyGUI | |
| static | removeProhibitedCharacters (string $a_text) |
| Remove prohibited characters see #19159. More... | |
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 This class represents a tag list property in a property form.
Definition at line 24 of file class.ilTagInputGUI.php.
| ilTagInputGUI::__construct | ( | $a_title = "", |
|
$a_postvar = "" |
|||
| ) |
Constructor.
| string | $a_title | Title |
| string | $a_postvar | Post Variable |
Definition at line 138 of file class.ilTagInputGUI.php.
References $DIC, ILIAS\GlobalScreen\Provider\__construct(), ILIAS\Repository\lng(), and ilFormPropertyGUI\setType().
Here is the call graph for this function:| ilTagInputGUI::checkInput | ( | ) |
Check input, strip slashes etc.
set alert, if input is not ok.
Reimplemented from ilFormPropertyGUI.
Definition at line 167 of file class.ilTagInputGUI.php.
References ilFormPropertyGUI\$lng, $valid, ilSubEnabledFormPropertyGUI\checkSubItemsInput(), ilFormPropertyGUI\getPostVar(), ilFormPropertyGUI\getRequired(), ilFormPropertyGUI\setAlert(), ilFormPropertyGUI\strArray(), and ilLanguage\txt().
Here is the call graph for this function:| ilTagInputGUI::getOptions | ( | ) |
Get Options.
Definition at line 127 of file class.ilTagInputGUI.php.
Referenced by render().
Here is the caller graph for this function:| ilTagInputGUI::insert | ( | $a_tpl | ) |
| $a_tpl |
Definition at line 230 of file class.ilTagInputGUI.php.
References render().
Here is the call graph for this function:| ilTagInputGUI::render | ( | ) |
| string | $a_mode |
Definition at line 184 of file class.ilTagInputGUI.php.
References $allow_duplicates, $config, $id, $max_chars, $max_tags, $tpl, $type_ahead_highlight, $type_ahead_limit, $type_ahead_min_length, ilGlobalTemplateInterface\get(), ilFormPropertyGUI\getFieldId(), getOptions(), ilFormPropertyGUI\getPostVar(), ilGlobalTemplateInterface\parseCurrentBlock(), ilLegacyFormElementsUtil\prepareFormOutput(), ilGlobalTemplateInterface\setCurrentBlock(), and ilGlobalTemplateInterface\setVariable().
Referenced by insert().
Here is the call graph for this function:
Here is the caller graph for this function:| ilTagInputGUI::setAllowDuplicates | ( | $allow_duplicates | ) |
| boolean | $allow_duplicates |
Definition at line 59 of file class.ilTagInputGUI.php.
References $allow_duplicates.
| ilTagInputGUI::setJsSelfInit | ( | $js_self_init | ) |
| boolean | $js_self_init |
Definition at line 67 of file class.ilTagInputGUI.php.
References $js_self_init.
| ilTagInputGUI::setMaxChars | ( | $max_chars | ) |
| int | $max_chars |
Definition at line 51 of file class.ilTagInputGUI.php.
References $max_chars.
| ilTagInputGUI::setMaxTags | ( | $max_tags | ) |
| int | $max_tags |
Definition at line 43 of file class.ilTagInputGUI.php.
References $max_tags.
| ilTagInputGUI::setOptions | ( | $a_options | ) |
Set Options.
| array | $a_options | Options. |
Definition at line 117 of file class.ilTagInputGUI.php.
Referenced by setValueByArray().
Here is the caller graph for this function:| ilTagInputGUI::setTypeAheadHighlight | ( | $highlight | ) |
| boolean | $highlight |
Definition at line 99 of file class.ilTagInputGUI.php.
| ilTagInputGUI::setTypeAheadIgnoreCase | ( | $type_ahead_ignore_case | ) |
| boolean | $type_ahead_ignore_case |
Definition at line 75 of file class.ilTagInputGUI.php.
References $type_ahead_ignore_case.
| ilTagInputGUI::setTypeAheadLimit | ( | $limit | ) |
| int | $limit |
Definition at line 91 of file class.ilTagInputGUI.php.
| ilTagInputGUI::setTypeAheadList | ( | $type_ahead_list | ) |
| array | $type_ahead_list |
Definition at line 107 of file class.ilTagInputGUI.php.
References $type_ahead_list.
| ilTagInputGUI::setTypeAheadMinLength | ( | $min_length | ) |
| int | $min_length |
Definition at line 83 of file class.ilTagInputGUI.php.
| ilTagInputGUI::setValueByArray | ( | $a_values | ) |
Set value by array.
| array | $a_values | value array |
Definition at line 155 of file class.ilTagInputGUI.php.
References ilFormPropertyGUI\getPostVar(), ilSubEnabledFormPropertyGUI\getSubItems(), and setOptions().
Here is the call graph for this function:
|
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.
Referenced by render().
|
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().