|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Class ilDclGenericMultiInputGUI. More...
Inheritance diagram for ilDclGenericMultiInputGUI:
Collaboration diagram for ilDclGenericMultiInputGUI:Public Member Functions | |
| getLimit () | |
| setLimit ($limit) | |
| set a limit of possible lines, 0 = no limit More... | |
| isAllowEmptyFields () | |
| setAllowEmptyFields ($allow_empty_fields) | |
| __construct ($a_title="", $a_postvar="") | |
| Constructor. More... | |
| getHook ($key) | |
| addHook ($key, $options) | |
| removeHook ($key) | |
| addInput (ilFormPropertyGUI $input, $options=array()) | |
| isShowLabel () | |
| setShowLabel ($show_label) | |
| getInputs () | |
| Get Options. More... | |
| setMulti ($a_multi, $a_sortable=false, $a_addremove=true) | |
| setValue ($a_value) | |
| Set Value. More... | |
| getValue () | |
| Get Value. More... | |
| setValueByArray ($a_values) | |
| Set value by array. More... | |
| checkInput () | |
| Check input, strip slashes etc. More... | |
| addCustomAttribute ($key, $value, $override=false) | |
| getCustomAttributes () | |
| render ($iterator_id=0, $clean_render=false) | |
| Render item. More... | |
| insert (&$a_tpl) | |
| Insert property html. More... | |
| getTableFilterHTML () | |
| Get HTML for table filter. More... | |
| getToolbarHTML () | |
| Get HTML for toolbar. More... | |
| getSubItems () | |
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... | |
Data Fields | |
| const | HOOK_IS_LINE_REMOVABLE = "hook_is_line_removable" |
| const | HOOK_IS_INPUT_DISABLED = "hook_is_disabled" |
| const | HOOK_BEFORE_INPUT_RENDER = "hook_before_render" |
Protected Member Functions | |
| createInputPostVar ($iterator_id, ilFormPropertyGUI $input) | |
Protected Member Functions inherited from ilFormPropertyGUI | |
| setType ($a_type) | |
| Set Type. More... | |
| getMultiIconsHTML () | |
| Get HTML for multiple value icons. More... | |
Protected Attributes | |
| $cust_attr = array() | |
| $value | |
| $inputs = array() | |
| $input_options = array() | |
| $hooks = array() | |
| $line_values = array() | |
| $template_dir = '' | |
| $post_var_cache = array() | |
| $show_label = false | |
| $limit = 0 | |
| $allow_empty_fields = false | |
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... | |
Class ilDclGenericMultiInputGUI.
Definition at line 10 of file class.ilDclGenericMultiInputGUI.php.
| ilDclGenericMultiInputGUI::__construct | ( | $a_title = "", |
|
$a_postvar = "" |
|||
| ) |
Constructor.
| string | $a_title | Title |
| string | $a_postvar | Post Variable |
Reimplemented from ilFormPropertyGUI.
Definition at line 105 of file class.ilDclGenericMultiInputGUI.php.
References setMulti(), and ilFormPropertyGUI\setType().
Here is the call graph for this function:| ilDclGenericMultiInputGUI::addCustomAttribute | ( | $key, | |
| $value, | |||
$override = false |
|||
| ) |
| $key | ||
| $value | ||
| bool | false | $override |
Definition at line 310 of file class.ilDclGenericMultiInputGUI.php.
Referenced by render().
Here is the caller graph for this function:| ilDclGenericMultiInputGUI::addHook | ( | $key, | |
| $options | |||
| ) |
| array | $options |
Definition at line 129 of file class.ilDclGenericMultiInputGUI.php.
References $key, and PHPMailer\PHPMailer\$options.
| ilDclGenericMultiInputGUI::addInput | ( | ilFormPropertyGUI | $input, |
$options = array() |
|||
| ) |
| $input | ||
| array | $options |
Definition at line 156 of file class.ilDclGenericMultiInputGUI.php.
References $input, and PHPMailer\PHPMailer\$options.
| ilDclGenericMultiInputGUI::checkInput | ( | ) |
Check input, strip slashes etc.
set alert, if input is not ok.
Reimplemented from ilFormPropertyGUI.
Definition at line 264 of file class.ilDclGenericMultiInputGUI.php.
References $_POST, $input, $inputs, ilFormPropertyGUI\$lng, $valid, ilFormPropertyGUI\getPostVar(), ilFormPropertyGUI\getRequired(), ilFormPropertyGUI\setAlert(), and ilUtil\stripSlashes().
Here is the call graph for this function:
|
protected |
| $iterator_id | ||
| ilFormPropertyGUI | $input |
Definition at line 335 of file class.ilDclGenericMultiInputGUI.php.
References $input, ilFormPropertyGUI\getMulti(), and ilFormPropertyGUI\getPostVar().
Referenced by render().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDclGenericMultiInputGUI::getCustomAttributes | ( | ) |
Definition at line 323 of file class.ilDclGenericMultiInputGUI.php.
References $cust_attr.
Referenced by render().
Here is the caller graph for this function:| ilDclGenericMultiInputGUI::getHook | ( | $key | ) |
| ilDclGenericMultiInputGUI::getInputs | ( | ) |
Get Options.
Definition at line 187 of file class.ilDclGenericMultiInputGUI.php.
References $inputs.
| ilDclGenericMultiInputGUI::getLimit | ( | ) |
Definition at line 64 of file class.ilDclGenericMultiInputGUI.php.
References $limit.
| ilDclGenericMultiInputGUI::getSubItems | ( | ) |
Definition at line 535 of file class.ilDclGenericMultiInputGUI.php.
| ilDclGenericMultiInputGUI::getTableFilterHTML | ( | ) |
Get HTML for table filter.
Definition at line 485 of file class.ilDclGenericMultiInputGUI.php.
References $html, and render().
Here is the call graph for this function:| ilDclGenericMultiInputGUI::getToolbarHTML | ( | ) |
| ilDclGenericMultiInputGUI::getValue | ( | ) |
Get Value.
Definition at line 232 of file class.ilDclGenericMultiInputGUI.php.
Referenced by render().
Here is the caller graph for this function:| ilDclGenericMultiInputGUI::insert | ( | & | $a_tpl | ) |
Insert property html.
Definition at line 445 of file class.ilDclGenericMultiInputGUI.php.
References $data, $DIC, $i, Sabre\VObject\$output, $tpl, ilFormPropertyGUI\getFieldId(), ilFormPropertyGUI\getMulti(), and render().
Here is the call graph for this function:| ilDclGenericMultiInputGUI::isAllowEmptyFields | ( | ) |
Definition at line 84 of file class.ilDclGenericMultiInputGUI.php.
References $allow_empty_fields.
| ilDclGenericMultiInputGUI::isShowLabel | ( | ) |
Definition at line 167 of file class.ilDclGenericMultiInputGUI.php.
References $show_label.
Referenced by render().
Here is the caller graph for this function:| ilDclGenericMultiInputGUI::removeHook | ( | $key | ) |
| $key |
Definition at line 140 of file class.ilDclGenericMultiInputGUI.php.
References $key.
| ilDclGenericMultiInputGUI::render | ( | $iterator_id = 0, |
|
$clean_render = false |
|||
| ) |
Render item.
| int | $iterator_id |
| ilException |
Definition at line 353 of file class.ilDclGenericMultiInputGUI.php.
References $input, $inputs, $key, $tpl, $value, ilGlyphGUI\ADD, addCustomAttribute(), createInputPostVar(), ilGlyphGUI\DOWN, ilGlyphGUI\get(), getCustomAttributes(), ilFormPropertyGUI\getDisabled(), getHook(), ilFormPropertyGUI\getMulti(), getValue(), isShowLabel(), ilGlyphGUI\REMOVE, and ilGlyphGUI\UP.
Referenced by getTableFilterHTML(), getToolbarHTML(), and insert().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDclGenericMultiInputGUI::setAllowEmptyFields | ( | $allow_empty_fields | ) |
| boolean | $allow_empty_fields |
Definition at line 93 of file class.ilDclGenericMultiInputGUI.php.
References $allow_empty_fields.
| ilDclGenericMultiInputGUI::setLimit | ( | $limit | ) |
set a limit of possible lines, 0 = no limit
| mixed | $limit |
Definition at line 75 of file class.ilDclGenericMultiInputGUI.php.
References $limit.
| ilDclGenericMultiInputGUI::setMulti | ( | $a_multi, | |
$a_sortable = false, |
|||
$a_addremove = true |
|||
| ) |
| bool | $a_multi |
Reimplemented from ilFormPropertyGUI.
Definition at line 196 of file class.ilDclGenericMultiInputGUI.php.
Referenced by __construct().
Here is the caller graph for this function:| ilDclGenericMultiInputGUI::setShowLabel | ( | $show_label | ) |
| boolean | $show_label |
Definition at line 176 of file class.ilDclGenericMultiInputGUI.php.
References $show_label.
| ilDclGenericMultiInputGUI::setValue | ( | $a_value | ) |
Set Value.
| string | $a_value | Value |
Definition at line 208 of file class.ilDclGenericMultiInputGUI.php.
References $key, and IL_CAL_DATE.
Referenced by setValueByArray().
Here is the caller graph for this function:| ilDclGenericMultiInputGUI::setValueByArray | ( | $a_values | ) |
Set value by array.
| array | $a_values | value array |
Definition at line 248 of file class.ilDclGenericMultiInputGUI.php.
References $data, ilFormPropertyGUI\getMulti(), ilFormPropertyGUI\getPostVar(), and setValue().
Here is the call graph for this function:
|
protected |
Definition at line 58 of file class.ilDclGenericMultiInputGUI.php.
Referenced by isAllowEmptyFields(), and setAllowEmptyFields().
|
protected |
Definition at line 18 of file class.ilDclGenericMultiInputGUI.php.
Referenced by getCustomAttributes().
|
protected |
Definition at line 34 of file class.ilDclGenericMultiInputGUI.php.
|
protected |
Definition at line 30 of file class.ilDclGenericMultiInputGUI.php.
|
protected |
Definition at line 26 of file class.ilDclGenericMultiInputGUI.php.
Referenced by checkInput(), getInputs(), and render().
|
protected |
Definition at line 54 of file class.ilDclGenericMultiInputGUI.php.
Referenced by getLimit(), and setLimit().
|
protected |
Definition at line 38 of file class.ilDclGenericMultiInputGUI.php.
|
protected |
Definition at line 46 of file class.ilDclGenericMultiInputGUI.php.
|
protected |
Definition at line 50 of file class.ilDclGenericMultiInputGUI.php.
Referenced by isShowLabel(), and setShowLabel().
|
protected |
Definition at line 42 of file class.ilDclGenericMultiInputGUI.php.
|
protected |
Definition at line 22 of file class.ilDclGenericMultiInputGUI.php.
Referenced by addCustomAttribute(), and render().
| const ilDclGenericMultiInputGUI::HOOK_BEFORE_INPUT_RENDER = "hook_before_render" |
Definition at line 14 of file class.ilDclGenericMultiInputGUI.php.
| const ilDclGenericMultiInputGUI::HOOK_IS_INPUT_DISABLED = "hook_is_disabled" |
Definition at line 13 of file class.ilDclGenericMultiInputGUI.php.
| const ilDclGenericMultiInputGUI::HOOK_IS_LINE_REMOVABLE = "hook_is_line_removable" |
Definition at line 12 of file class.ilDclGenericMultiInputGUI.php.