|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
This class represents a tag list property in a property form. 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) | |
| setTypeAhead ($type_ahead) | |
| 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 ($a_mode="") | |
| insert ($a_tpl) | |
Public Member Functions inherited from ilSubEnabledFormPropertyGUI | |
| addSubItem ($a_item) | |
| Add Subitem. More... | |
| getSubItems () | |
| Get Subitems. More... | |
| getSubInputItemsRecursive () | |
| returns a flat array of possibly existing subitems recursively More... | |
| checkSubItemsInput () | |
| Check SubItems. More... | |
| getSubForm () | |
| Get sub form html. More... | |
| getItemByPostVar ($a_post_var) | |
| Get item by post var. More... | |
Public Member Functions inherited from ilFormPropertyGUI | |
| __construct ($a_title="", $a_postvar="") | |
| Constructor. More... | |
| executeCommand () | |
| Execute command. More... | |
| getType () | |
| Get Type. More... | |
| setTitle ($a_title) | |
| Set Title. More... | |
| getTitle () | |
| Get Title. More... | |
| setPostVar ($a_postvar) | |
| Set Post Variable. More... | |
| getPostVar () | |
| Get Post Variable. More... | |
| getFieldId () | |
| Get Post Variable. More... | |
| setInfo ($a_info) | |
| Set Information Text. More... | |
| getInfo () | |
| Get Information Text. More... | |
| setAlert ($a_alert) | |
| Set Alert Text. More... | |
| getAlert () | |
| Get Alert Text. More... | |
| setRequired ($a_required) | |
| Set Required. More... | |
| getRequired () | |
| Get Required. More... | |
| setDisabled ($a_disabled) | |
| Set Disabled. More... | |
| getDisabled () | |
| Get Disabled. More... | |
| checkInput () | |
| Check input, strip slashes etc. More... | |
| setParentForm ($a_parentform) | |
| Set Parent Form. More... | |
| getParentForm () | |
| Get Parent Form. More... | |
| setParent ($a_val) | |
| Set Parent GUI object. More... | |
| getParent () | |
| Get Parent GUI object. More... | |
| getSubForm () | |
| Get sub form html. More... | |
| hideSubForm () | |
| Sub form hidden on init? More... | |
| setHiddenTitle ($a_val) | |
| Set hidden title (for screenreaders) More... | |
| getHiddenTitle () | |
| Get hidden title. More... | |
| getItemByPostVar ($a_post_var) | |
| Get item by post var. More... | |
| serializeData () | |
| serialize data More... | |
| unserializeData ($a_data) | |
| unserialize data More... | |
| writeToSession () | |
| Write to session. More... | |
| clearFromSession () | |
| Clear session value. More... | |
| readFromSession () | |
| Read from session. More... | |
| getHiddenTag ($a_post_var, $a_value) | |
| Get hidden tag (used for disabled properties) More... | |
| setMulti ($a_multi, $a_sortable=false, $a_addremove=true) | |
| Set Multi. More... | |
| getMulti () | |
| Get Multi. More... | |
| setMultiValues (array $a_values) | |
| Set multi values. More... | |
| getMultiValues () | |
| Get multi values. More... | |
| getContentOutsideFormTag () | |
| Get content that has to reside outside of the parent form tag, e.g. More... | |
| stripSlashesAddSpaceFallback ($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... | |
Protected Attributes | |
| $tpl | |
| $options = array() | |
| $max_tags = 0 | |
| $max_chars = 0 | |
| $allow_duplicates = false | |
| $js_self_init = true | |
| $type_ahead = false | |
| $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 | |
| $sub_items = array() | |
Protected Attributes inherited from ilFormPropertyGUI | |
| $ctrl | |
| $lng | |
| $type | |
| $title | |
| $postvar | |
| $info | |
| $alert | |
| $required = false | |
| $parentgui | |
| $parentform | |
| $hidden_title = "" | |
| $multi = false | |
| $multi_sortable = false | |
| $multi_addremove = true | |
| $multi_values | |
Additional Inherited Members | |
Static Public Member Functions inherited from ilFormPropertyGUI | |
| static | removeProhibitedCharacters ($a_text) |
| Remove prohibited characters see #19159. More... | |
Protected Member Functions inherited from ilFormPropertyGUI | |
| setType ($a_type) | |
| Set Type. More... | |
| getMultiIconsHTML () | |
| Get HTML for multiple value icons. More... | |
This class represents a tag list property in a property form.
Definition at line 11 of file class.ilTagInputGUI.php.
| ilTagInputGUI::__construct | ( | $a_title = "", |
|
$a_postvar = "" |
|||
| ) |
Constructor.
| string | $a_title | Title |
| string | $a_postvar | Post Variable |
Reimplemented from ilFormPropertyGUI.
Definition at line 137 of file class.ilTagInputGUI.php.
References $DIC, $tpl, 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 169 of file class.ilTagInputGUI.php.
References $_POST, ilFormPropertyGUI\$lng, $valid, ilSubEnabledFormPropertyGUI\checkSubItemsInput(), ilFormPropertyGUI\getPostVar(), ilFormPropertyGUI\getRequired(), ilFormPropertyGUI\setAlert(), and ilUtil\stripSlashes().
Here is the call graph for this function:| ilTagInputGUI::getOptions | ( | ) |
Get Options.
Definition at line 126 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 238 of file class.ilTagInputGUI.php.
References render().
Here is the call graph for this function:| ilTagInputGUI::render | ( | $a_mode = "" | ) |
| string | $a_mode |
Definition at line 197 of file class.ilTagInputGUI.php.
References $tpl, ilFormPropertyGUI\getFieldId(), getOptions(), ilFormPropertyGUI\getPostVar(), and ilUtil\prepareFormOutput().
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 50 of file class.ilTagInputGUI.php.
References $allow_duplicates.
| ilTagInputGUI::setJsSelfInit | ( | $js_self_init | ) |
| boolean | $js_self_init |
Definition at line 58 of file class.ilTagInputGUI.php.
References $js_self_init.
| ilTagInputGUI::setMaxChars | ( | $max_chars | ) |
| int | $max_chars |
Definition at line 42 of file class.ilTagInputGUI.php.
References $max_chars.
| ilTagInputGUI::setMaxTags | ( | $max_tags | ) |
| int | $max_tags |
Definition at line 34 of file class.ilTagInputGUI.php.
References $max_tags.
| ilTagInputGUI::setOptions | ( | $a_options | ) |
Set Options.
| array | $a_options | Options. |
Definition at line 116 of file class.ilTagInputGUI.php.
Referenced by setValueByArray().
Here is the caller graph for this function:| ilTagInputGUI::setTypeAhead | ( | $type_ahead | ) |
| boolean | $type_ahead |
Definition at line 66 of file class.ilTagInputGUI.php.
References $type_ahead.
| ilTagInputGUI::setTypeAheadHighlight | ( | $highlight | ) |
| boolean | $highlight |
Definition at line 98 of file class.ilTagInputGUI.php.
| ilTagInputGUI::setTypeAheadIgnoreCase | ( | $type_ahead_ignore_case | ) |
| boolean | $type_ahead_ignore_case |
Definition at line 74 of file class.ilTagInputGUI.php.
References $type_ahead_ignore_case.
| ilTagInputGUI::setTypeAheadLimit | ( | $limit | ) |
| int | $limit |
Definition at line 90 of file class.ilTagInputGUI.php.
| ilTagInputGUI::setTypeAheadList | ( | $type_ahead_list | ) |
| array | $type_ahead_list |
Definition at line 106 of file class.ilTagInputGUI.php.
References $type_ahead_list.
| ilTagInputGUI::setTypeAheadMinLength | ( | $min_length | ) |
| int | $min_length |
Definition at line 82 of file class.ilTagInputGUI.php.
| ilTagInputGUI::setValueByArray | ( | $a_values | ) |
Set value by array.
| array | $a_values | value array |
Definition at line 156 of file class.ilTagInputGUI.php.
References ilFormPropertyGUI\getPostVar(), ilSubEnabledFormPropertyGUI\getSubItems(), and setOptions().
Here is the call graph for this function:
|
protected |
Definition at line 21 of file class.ilTagInputGUI.php.
Referenced by setAllowDuplicates().
|
protected |
Definition at line 22 of file class.ilTagInputGUI.php.
Referenced by setJsSelfInit().
|
protected |
Definition at line 20 of file class.ilTagInputGUI.php.
Referenced by setMaxChars().
|
protected |
Definition at line 19 of file class.ilTagInputGUI.php.
Referenced by setMaxTags().
|
protected |
Definition at line 18 of file class.ilTagInputGUI.php.
|
protected |
Definition at line 16 of file class.ilTagInputGUI.php.
Referenced by __construct(), and render().
|
protected |
Definition at line 24 of file class.ilTagInputGUI.php.
Referenced by setTypeAhead().
|
protected |
Definition at line 29 of file class.ilTagInputGUI.php.
|
protected |
Definition at line 25 of file class.ilTagInputGUI.php.
Referenced by setTypeAheadIgnoreCase().
|
protected |
Definition at line 28 of file class.ilTagInputGUI.php.
|
protected |
Definition at line 26 of file class.ilTagInputGUI.php.
Referenced by setTypeAheadList().
|
protected |
Definition at line 27 of file class.ilTagInputGUI.php.