|
ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Class ilDclGenericMultiInputGUI. More...
Inheritance diagram for ilOrgUnitGenericMultiInputGUI:
Collaboration diagram for ilOrgUnitGenericMultiInputGUI:Public Member Functions | |
| __construct ($a_title="", $a_postvar="") | |
| Constructor. More... | |
| getHook ($key) | |
| addHook ($key, $options) | |
| removeHook ($key) | |
| addInput (\ilFormPropertyGUI $input, $options=array()) | |
| getTemplateDir () | |
| setTemplateDir ($template_dir) | |
| 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... | |
| initCSSandJS () | |
| insert (&$a_tpl) | |
| Insert property html. More... | |
| getTableFilterHTML () | |
| Get HTML for table filter. More... | |
| getToolbarHTML () | |
| Get HTML for toolbar. More... | |
| isPositionMovable () | |
| setPositionMovable ($position_movable) | |
| isShowLabelOnce () | |
| setShowLabelOnce ($show_label_once) | |
| isShowInfo () | |
| setShowInfo ($show_info) | |
| isRenderOneForEmptyValue () | |
| setRenderOneForEmptyValue ($render_one_for_empty_value) | |
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 | |
| $show_label_once = false | |
| $hidden_inputs = array() | |
| $position_movable = false | |
| $counter = 0 | |
| $show_info = false | |
| $render_one_for_empty_value = true | |
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.ilOrgUnitGenericMultiInputGUI.php.
| ilOrgUnitGenericMultiInputGUI::__construct | ( | $a_title = "", |
|
$a_postvar = "" |
|||
| ) |
Constructor.
| string | $a_title | Title |
| string | $a_postvar | Post Variable |
Reimplemented from ilFormPropertyGUI.
Definition at line 83 of file class.ilOrgUnitGenericMultiInputGUI.php.
References ILIAS\GlobalScreen\Provider\__construct(), initCSSandJS(), setMulti(), and ilFormPropertyGUI\setType().
Here is the call graph for this function:| ilOrgUnitGenericMultiInputGUI::addCustomAttribute | ( | $key, | |
| $value, | |||
$override = false |
|||
| ) |
| $key | ||
| $value | ||
| bool | false | $override |
Definition at line 298 of file class.ilOrgUnitGenericMultiInputGUI.php.
References $value.
Referenced by render().
Here is the caller graph for this function:| ilOrgUnitGenericMultiInputGUI::addHook | ( | $key, | |
| $options | |||
| ) |
| array | $options |
Definition at line 108 of file class.ilOrgUnitGenericMultiInputGUI.php.
| ilOrgUnitGenericMultiInputGUI::addInput | ( | \ilFormPropertyGUI | $input, |
$options = array() |
|||
| ) |
| $input | ||
| array | $options |
Definition at line 135 of file class.ilOrgUnitGenericMultiInputGUI.php.
References ilFormPropertyGUI\getPostVar().
Here is the call graph for this function:| ilOrgUnitGenericMultiInputGUI::checkInput | ( | ) |
Check input, strip slashes etc.
set alert, if input is not ok.
Reimplemented from ilFormPropertyGUI.
Definition at line 254 of file class.ilOrgUnitGenericMultiInputGUI.php.
References $_POST, $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 323 of file class.ilOrgUnitGenericMultiInputGUI.php.
References ilFormPropertyGUI\getMulti(), and ilFormPropertyGUI\getPostVar().
Referenced by render().
Here is the call graph for this function:
Here is the caller graph for this function:| ilOrgUnitGenericMultiInputGUI::getCustomAttributes | ( | ) |
Definition at line 311 of file class.ilOrgUnitGenericMultiInputGUI.php.
References $cust_attr.
Referenced by render().
Here is the caller graph for this function:| ilOrgUnitGenericMultiInputGUI::getHook | ( | $key | ) |
Definition at line 95 of file class.ilOrgUnitGenericMultiInputGUI.php.
Referenced by render().
Here is the caller graph for this function:| ilOrgUnitGenericMultiInputGUI::getInputs | ( | ) |
Get Options.
Definition at line 184 of file class.ilOrgUnitGenericMultiInputGUI.php.
References $inputs.
| ilOrgUnitGenericMultiInputGUI::getTableFilterHTML | ( | ) |
Get HTML for table filter.
Definition at line 517 of file class.ilOrgUnitGenericMultiInputGUI.php.
References render().
Here is the call graph for this function:| ilOrgUnitGenericMultiInputGUI::getTemplateDir | ( | ) |
Definition at line 146 of file class.ilOrgUnitGenericMultiInputGUI.php.
References $template_dir.
| ilOrgUnitGenericMultiInputGUI::getToolbarHTML | ( | ) |
Get HTML for toolbar.
Definition at line 528 of file class.ilOrgUnitGenericMultiInputGUI.php.
References render().
Here is the call graph for this function:| ilOrgUnitGenericMultiInputGUI::getValue | ( | ) |
Get Value.
Definition at line 222 of file class.ilOrgUnitGenericMultiInputGUI.php.
References $out.
Referenced by render().
Here is the caller graph for this function:| ilOrgUnitGenericMultiInputGUI::initCSSandJS | ( | ) |
Definition at line 461 of file class.ilOrgUnitGenericMultiInputGUI.php.
References $tpl.
Referenced by __construct().
Here is the caller graph for this function:| ilOrgUnitGenericMultiInputGUI::insert | ( | & | $a_tpl | ) |
Insert property html.
Definition at line 473 of file class.ilOrgUnitGenericMultiInputGUI.php.
References $data, $tpl, ilGlyphGUI\ADD, ilGlyphGUI\get(), ilFormPropertyGUI\getMulti(), and render().
Here is the call graph for this function:| ilOrgUnitGenericMultiInputGUI::isPositionMovable | ( | ) |
Definition at line 539 of file class.ilOrgUnitGenericMultiInputGUI.php.
References $position_movable.
Referenced by render().
Here is the caller graph for this function:| ilOrgUnitGenericMultiInputGUI::isRenderOneForEmptyValue | ( | ) |
Definition at line 594 of file class.ilOrgUnitGenericMultiInputGUI.php.
References $render_one_for_empty_value.
| ilOrgUnitGenericMultiInputGUI::isShowInfo | ( | ) |
Definition at line 576 of file class.ilOrgUnitGenericMultiInputGUI.php.
References $show_info.
Referenced by render().
Here is the caller graph for this function:| ilOrgUnitGenericMultiInputGUI::isShowLabel | ( | ) |
Definition at line 164 of file class.ilOrgUnitGenericMultiInputGUI.php.
References $show_label.
Referenced by render().
Here is the caller graph for this function:| ilOrgUnitGenericMultiInputGUI::isShowLabelOnce | ( | ) |
Definition at line 557 of file class.ilOrgUnitGenericMultiInputGUI.php.
References $show_label_once.
Referenced by render().
Here is the caller graph for this function:| ilOrgUnitGenericMultiInputGUI::removeHook | ( | $key | ) |
| $key |
Definition at line 119 of file class.ilOrgUnitGenericMultiInputGUI.php.
| ilOrgUnitGenericMultiInputGUI::render | ( | $iterator_id = 0, |
|
$clean_render = false |
|||
| ) |
Render item.
| int | $iterator_id |
Definition at line 341 of file class.ilOrgUnitGenericMultiInputGUI.php.
References $inputs, $tpl, $value, ilGlyphGUI\ADD, addCustomAttribute(), createInputPostVar(), ilGlyphGUI\DOWN, ilGlyphGUI\get(), getCustomAttributes(), ilFormPropertyGUI\getDisabled(), getHook(), ilFormPropertyGUI\getMulti(), getValue(), isPositionMovable(), isShowInfo(), isShowLabel(), isShowLabelOnce(), ilUtil\prepareFormOutput(), 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:| ilOrgUnitGenericMultiInputGUI::setMulti | ( | $a_multi, | |
$a_sortable = false, |
|||
$a_addremove = true |
|||
| ) |
| bool | $a_multi |
Reimplemented from ilFormPropertyGUI.
Definition at line 193 of file class.ilOrgUnitGenericMultiInputGUI.php.
Referenced by __construct().
Here is the caller graph for this function:| ilOrgUnitGenericMultiInputGUI::setPositionMovable | ( | $position_movable | ) |
| boolean | $position_movable |
Definition at line 548 of file class.ilOrgUnitGenericMultiInputGUI.php.
References $position_movable.
| ilOrgUnitGenericMultiInputGUI::setRenderOneForEmptyValue | ( | $render_one_for_empty_value | ) |
| bool | $render_one_for_empty_value |
Definition at line 603 of file class.ilOrgUnitGenericMultiInputGUI.php.
References $render_one_for_empty_value.
| ilOrgUnitGenericMultiInputGUI::setShowInfo | ( | $show_info | ) |
| boolean | $show_info |
Definition at line 585 of file class.ilOrgUnitGenericMultiInputGUI.php.
References $show_info.
| ilOrgUnitGenericMultiInputGUI::setShowLabel | ( | $show_label | ) |
| boolean | $show_label |
Definition at line 173 of file class.ilOrgUnitGenericMultiInputGUI.php.
References $show_label.
Referenced by setShowLabelOnce().
Here is the caller graph for this function:| ilOrgUnitGenericMultiInputGUI::setShowLabelOnce | ( | $show_label_once | ) |
| boolean | $show_label_once |
Definition at line 566 of file class.ilOrgUnitGenericMultiInputGUI.php.
References $show_label_once, and setShowLabel().
Here is the call graph for this function:| ilOrgUnitGenericMultiInputGUI::setTemplateDir | ( | $template_dir | ) |
| mixed | $template_dir |
Definition at line 155 of file class.ilOrgUnitGenericMultiInputGUI.php.
References $template_dir.
| ilOrgUnitGenericMultiInputGUI::setValue | ( | $a_value | ) |
Set Value.
| string | $a_value | Value |
Definition at line 204 of file class.ilOrgUnitGenericMultiInputGUI.php.
References IL_CAL_DATE.
Referenced by setValueByArray().
Here is the caller graph for this function:| ilOrgUnitGenericMultiInputGUI::setValueByArray | ( | $a_values | ) |
Set value by array.
| array | $a_values | value array |
Definition at line 238 of file class.ilOrgUnitGenericMultiInputGUI.php.
References $data, ilFormPropertyGUI\getMulti(), ilFormPropertyGUI\getPostVar(), and setValue().
Here is the call graph for this function:
|
protected |
Definition at line 66 of file class.ilOrgUnitGenericMultiInputGUI.php.
|
protected |
Definition at line 18 of file class.ilOrgUnitGenericMultiInputGUI.php.
Referenced by getCustomAttributes().
|
protected |
Definition at line 58 of file class.ilOrgUnitGenericMultiInputGUI.php.
|
protected |
Definition at line 34 of file class.ilOrgUnitGenericMultiInputGUI.php.
|
protected |
Definition at line 30 of file class.ilOrgUnitGenericMultiInputGUI.php.
|
protected |
Definition at line 26 of file class.ilOrgUnitGenericMultiInputGUI.php.
Referenced by checkInput(), getInputs(), and render().
|
protected |
Definition at line 38 of file class.ilOrgUnitGenericMultiInputGUI.php.
|
protected |
Definition at line 62 of file class.ilOrgUnitGenericMultiInputGUI.php.
Referenced by isPositionMovable(), and setPositionMovable().
|
protected |
Definition at line 46 of file class.ilOrgUnitGenericMultiInputGUI.php.
|
protected |
Definition at line 74 of file class.ilOrgUnitGenericMultiInputGUI.php.
Referenced by isRenderOneForEmptyValue(), and setRenderOneForEmptyValue().
|
protected |
Definition at line 70 of file class.ilOrgUnitGenericMultiInputGUI.php.
Referenced by isShowInfo(), and setShowInfo().
|
protected |
Definition at line 50 of file class.ilOrgUnitGenericMultiInputGUI.php.
Referenced by isShowLabel(), and setShowLabel().
|
protected |
Definition at line 54 of file class.ilOrgUnitGenericMultiInputGUI.php.
Referenced by isShowLabelOnce(), and setShowLabelOnce().
|
protected |
Definition at line 42 of file class.ilOrgUnitGenericMultiInputGUI.php.
Referenced by getTemplateDir(), and setTemplateDir().
|
protected |
Definition at line 22 of file class.ilOrgUnitGenericMultiInputGUI.php.
Referenced by addCustomAttribute(), and render().
| const ilOrgUnitGenericMultiInputGUI::HOOK_BEFORE_INPUT_RENDER = "hook_before_render" |
Definition at line 14 of file class.ilOrgUnitGenericMultiInputGUI.php.
| const ilOrgUnitGenericMultiInputGUI::HOOK_IS_INPUT_DISABLED = "hook_is_disabled" |
Definition at line 13 of file class.ilOrgUnitGenericMultiInputGUI.php.
| const ilOrgUnitGenericMultiInputGUI::HOOK_IS_LINE_REMOVABLE = "hook_is_line_removable" |
Definition at line 12 of file class.ilOrgUnitGenericMultiInputGUI.php.