|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
Class ilDclGenericMultiInputGUI. More...
Inheritance diagram for ilOrgUnitGenericMultiInputGUI:
Collaboration diagram for ilOrgUnitGenericMultiInputGUI:Public Member Functions | |
| __construct (string $a_title="", string $a_postvar="") | |
| getHook (string $key) | |
| addHook (string $key, array $options) | |
| removeHook (string $key) | |
| addInput (\ilFormPropertyGUI $input, array $options=[]) | |
| getTemplateDir () | |
| setTemplateDir (string $template_dir) | |
| isShowLabel () | |
| setShowLabel (bool $show_label) | |
| getInputs () | |
| Get Options. More... | |
| setMulti (bool $a_multi, bool $a_sortable=false, bool $a_addremove=true) | |
| setValue (array $value) | |
| getValue () | |
| setValueByArray (array $a_values) | |
| checkInput () | |
| Check input, strip slashes etc. More... | |
| addCustomAttribute (string $key, string $value, bool $override=false) | |
| getCustomAttributes () | |
| render (int|string $iterator_id=0, bool $clean_render=false) | |
| initCSSandJS () | |
| insert (\ilTemplate $a_tpl) | |
| Insert property html. More... | |
| getTableFilterHTML () | |
| Get HTML for table filter. More... | |
| getToolbarHTML () | |
| Get HTML for toolbar. More... | |
| isPositionMovable () | |
| setPositionMovable (bool $position_movable) | |
| isShowLabelOnce () | |
| setShowLabelOnce (bool $show_label_once) | |
| isShowInfo () | |
| setShowInfo (bool $show_info) | |
| isRenderOneForEmptyValue () | |
| setRenderOneForEmptyValue (bool $render_one_for_empty_value) | |
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... | |
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" |
| const | MULTI_FIELD_ID = "id" |
| const | MULTI_FIELD_OVER = "over" |
| const | MULTI_FIELD_SCOPE = "scope" |
Private Member Functions | |
| createInputPostVar (string $iterator_id, \ilFormPropertyGUI $input) | |
| getGlyph (string $which) | |
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 | |
| 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) | |
Class ilDclGenericMultiInputGUI.
Definition at line 30 of file class.ilOrgUnitGenericMultiInputGUI.php.
| ilOrgUnitGenericMultiInputGUI::__construct | ( | string | $a_title = "", |
| string | $a_postvar = "" |
||
| ) |
Reimplemented from ilFormPropertyGUI.
Definition at line 60 of file class.ilOrgUnitGenericMultiInputGUI.php.
References $DIC, ILIAS\GlobalScreen\Provider\__construct(), initCSSandJS(), setMulti(), and ilFormPropertyGUI\setType().
Here is the call graph for this function:| ilOrgUnitGenericMultiInputGUI::addCustomAttribute | ( | string | $key, |
| string | $value, | ||
| bool | $override = false |
||
| ) |
Definition at line 203 of file class.ilOrgUnitGenericMultiInputGUI.php.
References $value.
Referenced by render().
Here is the caller graph for this function:| ilOrgUnitGenericMultiInputGUI::addHook | ( | string | $key, |
| array | $options | ||
| ) |
Definition at line 83 of file class.ilOrgUnitGenericMultiInputGUI.php.
References ILIAS\UI\Implementation\Component\Input\Field\$options.
| ilOrgUnitGenericMultiInputGUI::addInput | ( | \ilFormPropertyGUI | $input, |
| array | $options = [] |
||
| ) |
Definition at line 99 of file class.ilOrgUnitGenericMultiInputGUI.php.
References ILIAS\UI\Implementation\Component\Input\Field\$options, and 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 179 of file class.ilOrgUnitGenericMultiInputGUI.php.
References $post, ilFormPropertyGUI\getPostVar(), ILIAS\Repository\lng(), ilFormPropertyGUI\raw(), and ilFormPropertyGUI\setAlert().
Here is the call graph for this function:
|
private |
Definition at line 217 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 212 of file class.ilOrgUnitGenericMultiInputGUI.php.
References $cust_attr.
Referenced by render().
Here is the caller graph for this function:
|
private |
do not render an a-tag around the glyph. should be outdated and removed when Glyphs loose their Clickable
Definition at line 461 of file class.ilOrgUnitGenericMultiInputGUI.php.
References $renderer.
Referenced by insert(), and render().
Here is the caller graph for this function:| ilOrgUnitGenericMultiInputGUI::getHook | ( | string | $key | ) |
Definition at line 74 of file class.ilOrgUnitGenericMultiInputGUI.php.
Referenced by render().
Here is the caller graph for this function:| ilOrgUnitGenericMultiInputGUI::getInputs | ( | ) |
Get Options.
Definition at line 130 of file class.ilOrgUnitGenericMultiInputGUI.php.
References $inputs.
| ilOrgUnitGenericMultiInputGUI::getTableFilterHTML | ( | ) |
Get HTML for table filter.
Definition at line 407 of file class.ilOrgUnitGenericMultiInputGUI.php.
References render().
Here is the call graph for this function:| ilOrgUnitGenericMultiInputGUI::getTemplateDir | ( | ) |
Definition at line 106 of file class.ilOrgUnitGenericMultiInputGUI.php.
References $template_dir.
| ilOrgUnitGenericMultiInputGUI::getToolbarHTML | ( | ) |
Get HTML for toolbar.
Definition at line 415 of file class.ilOrgUnitGenericMultiInputGUI.php.
References render().
Here is the call graph for this function:| ilOrgUnitGenericMultiInputGUI::getValue | ( | ) |
| ilOrgUnitGenericMultiInputGUI::initCSSandJS | ( | ) |
Definition at line 342 of file class.ilOrgUnitGenericMultiInputGUI.php.
Referenced by __construct().
Here is the caller graph for this function:| ilOrgUnitGenericMultiInputGUI::insert | ( | \ilTemplate | $a_tpl | ) |
Insert property html.
| ilTemplateException|ilException |
Definition at line 351 of file class.ilOrgUnitGenericMultiInputGUI.php.
References $data, ILIAS\UI\Implementation\Component\Input\Field\$options, getGlyph(), ilFormPropertyGUI\getMulti(), ILIAS\Repository\lng(), ilTemplate\parseCurrentBlock(), render(), ilTemplate\setCurrentBlock(), and HTML_Template_IT\setVariable().
Here is the call graph for this function:| ilOrgUnitGenericMultiInputGUI::isPositionMovable | ( | ) |
Definition at line 420 of file class.ilOrgUnitGenericMultiInputGUI.php.
References $position_movable.
Referenced by render().
Here is the caller graph for this function:| ilOrgUnitGenericMultiInputGUI::isRenderOneForEmptyValue | ( | ) |
Definition at line 451 of file class.ilOrgUnitGenericMultiInputGUI.php.
References $render_one_for_empty_value.
| ilOrgUnitGenericMultiInputGUI::isShowInfo | ( | ) |
Definition at line 441 of file class.ilOrgUnitGenericMultiInputGUI.php.
References $show_info.
Referenced by render().
Here is the caller graph for this function:| ilOrgUnitGenericMultiInputGUI::isShowLabel | ( | ) |
Definition at line 116 of file class.ilOrgUnitGenericMultiInputGUI.php.
References $show_label.
Referenced by render().
Here is the caller graph for this function:| ilOrgUnitGenericMultiInputGUI::isShowLabelOnce | ( | ) |
Definition at line 430 of file class.ilOrgUnitGenericMultiInputGUI.php.
References $show_label_once.
Referenced by render().
Here is the caller graph for this function:| ilOrgUnitGenericMultiInputGUI::removeHook | ( | string | $key | ) |
Definition at line 88 of file class.ilOrgUnitGenericMultiInputGUI.php.
| ilOrgUnitGenericMultiInputGUI::render | ( | int|string | $iterator_id = 0, |
| bool | $clean_render = false |
||
| ) |
Definition at line 227 of file class.ilOrgUnitGenericMultiInputGUI.php.
References $inputs, $value, addCustomAttribute(), createInputPostVar(), getCustomAttributes(), ilFormPropertyGUI\getDisabled(), getGlyph(), getHook(), ilFormPropertyGUI\getMulti(), getValue(), isPositionMovable(), isShowInfo(), isShowLabel(), isShowLabelOnce(), and ilLegacyFormElementsUtil\prepareFormOutput().
Referenced by getTableFilterHTML(), getToolbarHTML(), and insert().
Here is the call graph for this function:
Here is the caller graph for this function:| ilOrgUnitGenericMultiInputGUI::setMulti | ( | bool | $a_multi, |
| bool | $a_sortable = false, |
||
| bool | $a_addremove = true |
||
| ) |
Reimplemented from ilFormPropertyGUI.
Definition at line 135 of file class.ilOrgUnitGenericMultiInputGUI.php.
Referenced by __construct().
Here is the caller graph for this function:| ilOrgUnitGenericMultiInputGUI::setPositionMovable | ( | bool | $position_movable | ) |
Definition at line 425 of file class.ilOrgUnitGenericMultiInputGUI.php.
References $position_movable.
| ilOrgUnitGenericMultiInputGUI::setRenderOneForEmptyValue | ( | bool | $render_one_for_empty_value | ) |
Definition at line 456 of file class.ilOrgUnitGenericMultiInputGUI.php.
References $render_one_for_empty_value.
| ilOrgUnitGenericMultiInputGUI::setShowInfo | ( | bool | $show_info | ) |
Definition at line 446 of file class.ilOrgUnitGenericMultiInputGUI.php.
References $show_info.
| ilOrgUnitGenericMultiInputGUI::setShowLabel | ( | bool | $show_label | ) |
Definition at line 121 of file class.ilOrgUnitGenericMultiInputGUI.php.
References $show_label.
Referenced by setShowLabelOnce().
Here is the caller graph for this function:| ilOrgUnitGenericMultiInputGUI::setShowLabelOnce | ( | bool | $show_label_once | ) |
Definition at line 435 of file class.ilOrgUnitGenericMultiInputGUI.php.
References $show_label_once, and setShowLabel().
Here is the call graph for this function:| ilOrgUnitGenericMultiInputGUI::setTemplateDir | ( | string | $template_dir | ) |
Definition at line 111 of file class.ilOrgUnitGenericMultiInputGUI.php.
References $template_dir.
| ilOrgUnitGenericMultiInputGUI::setValue | ( | array | $value | ) |
Definition at line 140 of file class.ilOrgUnitGenericMultiInputGUI.php.
References $value, and IL_CAL_DATE.
Referenced by setValueByArray().
Here is the caller graph for this function:| ilOrgUnitGenericMultiInputGUI::setValueByArray | ( | array | $a_values | ) |
Definition at line 165 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 52 of file class.ilOrgUnitGenericMultiInputGUI.php.
|
protected |
Definition at line 40 of file class.ilOrgUnitGenericMultiInputGUI.php.
Referenced by getCustomAttributes().
|
protected |
Definition at line 50 of file class.ilOrgUnitGenericMultiInputGUI.php.
|
protected |
Definition at line 44 of file class.ilOrgUnitGenericMultiInputGUI.php.
|
protected |
Definition at line 43 of file class.ilOrgUnitGenericMultiInputGUI.php.
|
protected |
Definition at line 42 of file class.ilOrgUnitGenericMultiInputGUI.php.
Referenced by getInputs(), and render().
|
protected |
Definition at line 45 of file class.ilOrgUnitGenericMultiInputGUI.php.
|
protected |
Definition at line 51 of file class.ilOrgUnitGenericMultiInputGUI.php.
Referenced by isPositionMovable(), and setPositionMovable().
|
protected |
Definition at line 47 of file class.ilOrgUnitGenericMultiInputGUI.php.
|
protected |
Definition at line 54 of file class.ilOrgUnitGenericMultiInputGUI.php.
Referenced by isRenderOneForEmptyValue(), and setRenderOneForEmptyValue().
|
protected |
Definition at line 58 of file class.ilOrgUnitGenericMultiInputGUI.php.
|
protected |
Definition at line 53 of file class.ilOrgUnitGenericMultiInputGUI.php.
Referenced by isShowInfo(), and setShowInfo().
|
protected |
Definition at line 48 of file class.ilOrgUnitGenericMultiInputGUI.php.
Referenced by isShowLabel(), and setShowLabel().
|
protected |
Definition at line 49 of file class.ilOrgUnitGenericMultiInputGUI.php.
Referenced by isShowLabelOnce(), and setShowLabelOnce().
|
protected |
Definition at line 46 of file class.ilOrgUnitGenericMultiInputGUI.php.
Referenced by getTemplateDir(), and setTemplateDir().
|
protected |
Definition at line 56 of file class.ilOrgUnitGenericMultiInputGUI.php.
|
protected |
Definition at line 57 of file class.ilOrgUnitGenericMultiInputGUI.php.
|
protected |
Definition at line 41 of file class.ilOrgUnitGenericMultiInputGUI.php.
Referenced by addCustomAttribute(), render(), and setValue().
| const ilOrgUnitGenericMultiInputGUI::HOOK_BEFORE_INPUT_RENDER = "hook_before_render" |
Definition at line 34 of file class.ilOrgUnitGenericMultiInputGUI.php.
| const ilOrgUnitGenericMultiInputGUI::HOOK_IS_INPUT_DISABLED = "hook_is_disabled" |
Definition at line 33 of file class.ilOrgUnitGenericMultiInputGUI.php.
| const ilOrgUnitGenericMultiInputGUI::HOOK_IS_LINE_REMOVABLE = "hook_is_line_removable" |
Definition at line 32 of file class.ilOrgUnitGenericMultiInputGUI.php.
| const ilOrgUnitGenericMultiInputGUI::MULTI_FIELD_ID = "id" |
Definition at line 36 of file class.ilOrgUnitGenericMultiInputGUI.php.
Referenced by ilOrgUnitPositionFormGUI\initFormElements().
| const ilOrgUnitGenericMultiInputGUI::MULTI_FIELD_OVER = "over" |
Definition at line 37 of file class.ilOrgUnitGenericMultiInputGUI.php.
Referenced by ilOrgUnitPositionFormGUI\initFormElements().
| const ilOrgUnitGenericMultiInputGUI::MULTI_FIELD_SCOPE = "scope" |
Definition at line 38 of file class.ilOrgUnitGenericMultiInputGUI.php.
Referenced by ilOrgUnitPositionFormGUI\initFormElements().