ILIAS
trunk Revision v11.0_alpha-1749-g1a06bdef097
|
Public Member Functions | |
__construct (string $a_title="", string $a_postvar="") | |
getLimit () | |
setLimit (int $limit) | |
isAllowEmptyFields () | |
setAllowEmptyFields (bool $allow_empty_fields) | |
getHook (string $key) | |
addHook (string $key, array $options) | |
removeHook (string $key) | |
addInput (ilFormPropertyGUI $input, array $options=[]) | |
isShowLabel () | |
setShowLabel (bool $show_label) | |
getInputs () | |
Get Options. More... | |
setMulti (bool $a_multi, bool $a_sortable=false, bool $a_addremove=true) | |
setValue (array $value) | |
Set Value. More... | |
getValue () | |
Get Value. More... | |
setValueByArray (array $a_values) | |
Set value by array. More... | |
checkInput () | |
Check input, strip slashes etc. More... | |
addCustomAttribute (string $key, string $value, bool $override=false) | |
getCustomAttributes () | |
render (string $iterator_id="0", bool $clean_render=false) | |
Render item. More... | |
insert (ilTemplate $a_tpl) | |
Insert property html. More... | |
getTableFilterHTML () | |
Get HTML for table filter. More... | |
getToolbarHTML () | |
Get HTML for toolbar. More... | |
getSubItems () | |
![]() | |
__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" |
Protected Member Functions | |
createInputPostVar (string $iterator_id, ilFormPropertyGUI $input) | |
![]() | |
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) | |
Protected Attributes | |
ILIAS UI Factory | $ui_factory |
ILIAS UI Renderer | $renderer |
array | $cust_attr = [] |
array | $value = [] |
array | $inputs = [] |
array | $input_options = [] |
array | $hooks = [] |
array | $line_values = [] |
string | $template_dir = '' |
array | $post_var_cache = [] |
bool | $show_label = false |
int | $limit = 999999 |
bool | $allow_empty_fields = false |
![]() | |
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 | removeProhibitedCharacters (string $a_text) |
Remove prohibited characters see #19159. More... | |
Definition at line 21 of file class.ilDclGenericMultiInputGUI.php.
ilDclGenericMultiInputGUI::__construct | ( | string | $a_title = "" , |
string | $a_postvar = "" |
||
) |
Definition at line 41 of file class.ilDclGenericMultiInputGUI.php.
References $DIC, ILIAS\GlobalScreen\Provider\__construct(), renderer(), setMulti(), and ilFormPropertyGUI\setType().
ilDclGenericMultiInputGUI::addCustomAttribute | ( | string | $key, |
string | $value, | ||
bool | $override = false |
||
) |
Definition at line 228 of file class.ilDclGenericMultiInputGUI.php.
References $value.
Referenced by render().
ilDclGenericMultiInputGUI::addHook | ( | string | $key, |
array | $options | ||
) |
Definition at line 86 of file class.ilDclGenericMultiInputGUI.php.
ilDclGenericMultiInputGUI::addInput | ( | ilFormPropertyGUI | $input, |
array | $options = [] |
||
) |
Definition at line 102 of file class.ilDclGenericMultiInputGUI.php.
References ilFormPropertyGUI\getPostVar(), and ilFormPropertyGUI\setRequired().
ilDclGenericMultiInputGUI::checkInput | ( | ) |
Check input, strip slashes etc.
set alert, if input is not ok.
Definition at line 192 of file class.ilDclGenericMultiInputGUI.php.
References ilFormPropertyGUI\$lng, $out, $valid, ilFormPropertyGUI\arrayArray(), ilFormPropertyGUI\getPostVar(), ilFormPropertyGUI\getRequired(), getValue(), ILIAS\Repository\lng(), null, ilCalendarUtil\parseIncomingDate(), ilFormPropertyGUI\setAlert(), setValue(), and ilUtil\stripSlashes().
|
protected |
Definition at line 242 of file class.ilDclGenericMultiInputGUI.php.
References ilFormPropertyGUI\getMulti(), and ilFormPropertyGUI\getPostVar().
Referenced by render().
ilDclGenericMultiInputGUI::getCustomAttributes | ( | ) |
Definition at line 237 of file class.ilDclGenericMultiInputGUI.php.
References $cust_attr.
Referenced by render().
ilDclGenericMultiInputGUI::getHook | ( | string | $key | ) |
Definition at line 77 of file class.ilDclGenericMultiInputGUI.php.
Referenced by render().
ilDclGenericMultiInputGUI::getInputs | ( | ) |
Get Options.
Definition at line 123 of file class.ilDclGenericMultiInputGUI.php.
References $inputs.
ilDclGenericMultiInputGUI::getLimit | ( | ) |
ilDclGenericMultiInputGUI::getSubItems | ( | ) |
Definition at line 390 of file class.ilDclGenericMultiInputGUI.php.
ilDclGenericMultiInputGUI::getTableFilterHTML | ( | ) |
Get HTML for table filter.
Definition at line 377 of file class.ilDclGenericMultiInputGUI.php.
References render().
ilDclGenericMultiInputGUI::getToolbarHTML | ( | ) |
Get HTML for toolbar.
Definition at line 385 of file class.ilDclGenericMultiInputGUI.php.
References render().
ilDclGenericMultiInputGUI::getValue | ( | ) |
Get Value.
Definition at line 166 of file class.ilDclGenericMultiInputGUI.php.
References $out.
Referenced by checkInput(), and render().
ilDclGenericMultiInputGUI::insert | ( | ilTemplate | $a_tpl | ) |
Insert property html.
Definition at line 342 of file class.ilDclGenericMultiInputGUI.php.
References $data, $id, ilFormPropertyGUI\getFieldId(), ilFormPropertyGUI\getMulti(), ILIAS\Repository\lng(), ilTemplate\parseCurrentBlock(), render(), ilTemplate\setCurrentBlock(), and HTML_Template_IT\setVariable().
ilDclGenericMultiInputGUI::isAllowEmptyFields | ( | ) |
Definition at line 64 of file class.ilDclGenericMultiInputGUI.php.
References $allow_empty_fields.
ilDclGenericMultiInputGUI::isShowLabel | ( | ) |
Definition at line 109 of file class.ilDclGenericMultiInputGUI.php.
References $show_label.
Referenced by render().
ilDclGenericMultiInputGUI::removeHook | ( | string | $key | ) |
Definition at line 91 of file class.ilDclGenericMultiInputGUI.php.
ilDclGenericMultiInputGUI::render | ( | string | $iterator_id = "0" , |
bool | $clean_render = false |
||
) |
Render item.
ilTemplateException |
Definition at line 255 of file class.ilDclGenericMultiInputGUI.php.
References $inputs, addCustomAttribute(), createInputPostVar(), getCustomAttributes(), ilFormPropertyGUI\getDisabled(), getHook(), ilFormPropertyGUI\getMulti(), getValue(), isShowLabel(), and renderer().
Referenced by getTableFilterHTML(), getToolbarHTML(), and insert().
ilDclGenericMultiInputGUI::setAllowEmptyFields | ( | bool | $allow_empty_fields | ) |
Definition at line 69 of file class.ilDclGenericMultiInputGUI.php.
References $allow_empty_fields.
ilDclGenericMultiInputGUI::setLimit | ( | int | $limit | ) |
ilDclGenericMultiInputGUI::setMulti | ( | bool | $a_multi, |
bool | $a_sortable = false , |
||
bool | $a_addremove = true |
||
) |
Definition at line 128 of file class.ilDclGenericMultiInputGUI.php.
Referenced by __construct(), ilDclDateSelectionFieldRepresentation\buildOptionsInput(), and ilDclTextSelectionFieldRepresentation\buildOptionsInput().
ilDclGenericMultiInputGUI::setShowLabel | ( | bool | $show_label | ) |
Definition at line 114 of file class.ilDclGenericMultiInputGUI.php.
References $show_label.
ilDclGenericMultiInputGUI::setValue | ( | array | $value | ) |
Set Value.
Definition at line 140 of file class.ilDclGenericMultiInputGUI.php.
References $value, IL_CAL_DATE, and ilCalendarUtil\parseIncomingDate().
Referenced by checkInput(), and setValueByArray().
ilDclGenericMultiInputGUI::setValueByArray | ( | array | $a_values | ) |
Set value by array.
Definition at line 179 of file class.ilDclGenericMultiInputGUI.php.
References $data, ilFormPropertyGUI\getMulti(), ilFormPropertyGUI\getPostVar(), and setValue().
|
protected |
Definition at line 39 of file class.ilDclGenericMultiInputGUI.php.
Referenced by isAllowEmptyFields(), and setAllowEmptyFields().
|
protected |
Definition at line 29 of file class.ilDclGenericMultiInputGUI.php.
Referenced by getCustomAttributes().
|
protected |
Definition at line 33 of file class.ilDclGenericMultiInputGUI.php.
|
protected |
Definition at line 32 of file class.ilDclGenericMultiInputGUI.php.
|
protected |
Definition at line 31 of file class.ilDclGenericMultiInputGUI.php.
Referenced by getInputs(), and render().
|
protected |
Definition at line 38 of file class.ilDclGenericMultiInputGUI.php.
Referenced by getLimit(), and setLimit().
|
protected |
Definition at line 34 of file class.ilDclGenericMultiInputGUI.php.
|
protected |
Definition at line 36 of file class.ilDclGenericMultiInputGUI.php.
|
protected |
Definition at line 27 of file class.ilDclGenericMultiInputGUI.php.
|
protected |
Definition at line 37 of file class.ilDclGenericMultiInputGUI.php.
Referenced by isShowLabel(), and setShowLabel().
|
protected |
Definition at line 35 of file class.ilDclGenericMultiInputGUI.php.
|
protected |
Definition at line 26 of file class.ilDclGenericMultiInputGUI.php.
|
protected |
Definition at line 30 of file class.ilDclGenericMultiInputGUI.php.
Referenced by addCustomAttribute(), and setValue().
const ilDclGenericMultiInputGUI::HOOK_BEFORE_INPUT_RENDER = "hook_before_render" |
Definition at line 25 of file class.ilDclGenericMultiInputGUI.php.
const ilDclGenericMultiInputGUI::HOOK_IS_INPUT_DISABLED = "hook_is_disabled" |
Definition at line 24 of file class.ilDclGenericMultiInputGUI.php.
const ilDclGenericMultiInputGUI::HOOK_IS_LINE_REMOVABLE = "hook_is_line_removable" |
Definition at line 23 of file class.ilDclGenericMultiInputGUI.php.