ILIAS
release_8 Revision v8.19
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
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 $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) | |
![]() | |
__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" |
Protected Attributes | |
array | $cust_attr = [] |
$value | |
array | $inputs = [] |
array | $input_options = [] |
array | $hooks = [] |
array | $line_values = [] |
string | $template_dir = '' |
array | $post_var_cache = [] |
bool | $show_label = false |
bool | $show_label_once = false |
array | $hidden_inputs = [] |
bool | $position_movable = false |
int | $counter = 0 |
bool | $show_info = false |
bool | $render_one_for_empty_value = true |
![]() | |
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 |
Private Member Functions | |
createInputPostVar (string $iterator_id, \ilFormPropertyGUI $input) | |
Additional Inherited Members | |
![]() | |
static | removeProhibitedCharacters (string $a_text) |
Remove prohibited characters see #19159. More... | |
![]() | |
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) | |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Class ilDclGenericMultiInputGUI
Definition at line 25 of file class.ilOrgUnitGenericMultiInputGUI.php.
ilOrgUnitGenericMultiInputGUI::__construct | ( | string | $a_title = "" , |
string | $a_postvar = "" |
||
) |
Definition at line 51 of file class.ilOrgUnitGenericMultiInputGUI.php.
References ILIAS\GlobalScreen\Provider\__construct(), initCSSandJS(), setMulti(), and ilFormPropertyGUI\setType().
ilOrgUnitGenericMultiInputGUI::addCustomAttribute | ( | string | $key, |
string | $value, | ||
bool | $override = false |
||
) |
Definition at line 186 of file class.ilOrgUnitGenericMultiInputGUI.php.
References ILIAS\LTI\ToolProvider\$key, and $value.
Referenced by render().
ilOrgUnitGenericMultiInputGUI::addHook | ( | string | $key, |
array | $options | ||
) |
Definition at line 68 of file class.ilOrgUnitGenericMultiInputGUI.php.
References ILIAS\LTI\ToolProvider\$key.
ilOrgUnitGenericMultiInputGUI::addInput | ( | \ilFormPropertyGUI | $input, |
array | $options = [] |
||
) |
Definition at line 84 of file class.ilOrgUnitGenericMultiInputGUI.php.
References ilFormPropertyGUI\getPostVar().
ilOrgUnitGenericMultiInputGUI::checkInput | ( | ) |
Check input, strip slashes etc.
set alert, if input is not ok.
Definition at line 164 of file class.ilOrgUnitGenericMultiInputGUI.php.
References ILIAS\LTI\ToolProvider\$key, $post, ilFormPropertyGUI\getPostVar(), ILIAS\Repository\lng(), ilFormPropertyGUI\raw(), and ilFormPropertyGUI\setAlert().
|
private |
Definition at line 200 of file class.ilOrgUnitGenericMultiInputGUI.php.
References ilFormPropertyGUI\getMulti(), and ilFormPropertyGUI\getPostVar().
Referenced by render().
ilOrgUnitGenericMultiInputGUI::getCustomAttributes | ( | ) |
Definition at line 195 of file class.ilOrgUnitGenericMultiInputGUI.php.
References $cust_attr.
Referenced by render().
ilOrgUnitGenericMultiInputGUI::getHook | ( | string | $key | ) |
Definition at line 59 of file class.ilOrgUnitGenericMultiInputGUI.php.
References ILIAS\LTI\ToolProvider\$key.
Referenced by render().
ilOrgUnitGenericMultiInputGUI::getInputs | ( | ) |
Get Options.
Definition at line 115 of file class.ilOrgUnitGenericMultiInputGUI.php.
References $inputs.
ilOrgUnitGenericMultiInputGUI::getTableFilterHTML | ( | ) |
Get HTML for table filter.
Definition at line 394 of file class.ilOrgUnitGenericMultiInputGUI.php.
References render().
ilOrgUnitGenericMultiInputGUI::getTemplateDir | ( | ) |
Definition at line 91 of file class.ilOrgUnitGenericMultiInputGUI.php.
References $template_dir.
ilOrgUnitGenericMultiInputGUI::getToolbarHTML | ( | ) |
Get HTML for toolbar.
Definition at line 402 of file class.ilOrgUnitGenericMultiInputGUI.php.
References render().
ilOrgUnitGenericMultiInputGUI::getValue | ( | ) |
Definition at line 140 of file class.ilOrgUnitGenericMultiInputGUI.php.
References ILIAS\LTI\ToolProvider\$key, and $out.
Referenced by render().
ilOrgUnitGenericMultiInputGUI::initCSSandJS | ( | ) |
Definition at line 329 of file class.ilOrgUnitGenericMultiInputGUI.php.
References $tpl.
Referenced by __construct().
ilOrgUnitGenericMultiInputGUI::insert | ( | \ilTemplate | $a_tpl | ) |
Insert property html.
ilTemplateException|ilException |
Definition at line 339 of file class.ilOrgUnitGenericMultiInputGUI.php.
References $data, $tpl, ilGlyphGUI\ADD, ilGlyphGUI\get(), ilFormPropertyGUI\getMulti(), ilTemplate\parseCurrentBlock(), render(), ilTemplate\setCurrentBlock(), and HTML_Template_IT\setVariable().
ilOrgUnitGenericMultiInputGUI::isPositionMovable | ( | ) |
Definition at line 407 of file class.ilOrgUnitGenericMultiInputGUI.php.
References $position_movable.
Referenced by render().
ilOrgUnitGenericMultiInputGUI::isRenderOneForEmptyValue | ( | ) |
Definition at line 438 of file class.ilOrgUnitGenericMultiInputGUI.php.
References $render_one_for_empty_value.
ilOrgUnitGenericMultiInputGUI::isShowInfo | ( | ) |
Definition at line 428 of file class.ilOrgUnitGenericMultiInputGUI.php.
References $show_info.
Referenced by render().
ilOrgUnitGenericMultiInputGUI::isShowLabel | ( | ) |
Definition at line 101 of file class.ilOrgUnitGenericMultiInputGUI.php.
References $show_label.
Referenced by render().
ilOrgUnitGenericMultiInputGUI::isShowLabelOnce | ( | ) |
Definition at line 417 of file class.ilOrgUnitGenericMultiInputGUI.php.
References $show_label_once.
Referenced by render().
ilOrgUnitGenericMultiInputGUI::removeHook | ( | string | $key | ) |
Definition at line 73 of file class.ilOrgUnitGenericMultiInputGUI.php.
ilOrgUnitGenericMultiInputGUI::render | ( | int | $iterator_id = 0 , |
bool | $clean_render = false |
||
) |
Definition at line 210 of file class.ilOrgUnitGenericMultiInputGUI.php.
References $inputs, ILIAS\LTI\ToolProvider\$key, $tpl, $value, ilGlyphGUI\ADD, addCustomAttribute(), createInputPostVar(), ilGlyphGUI\DOWN, ilGlyphGUI\get(), getCustomAttributes(), ilFormPropertyGUI\getDisabled(), getHook(), ilFormPropertyGUI\getMulti(), getValue(), isPositionMovable(), isShowInfo(), isShowLabel(), isShowLabelOnce(), ilLegacyFormElementsUtil\prepareFormOutput(), ilGlyphGUI\REMOVE, and ilGlyphGUI\UP.
Referenced by getTableFilterHTML(), getToolbarHTML(), and insert().
ilOrgUnitGenericMultiInputGUI::setMulti | ( | bool | $a_multi, |
bool | $a_sortable = false , |
||
bool | $a_addremove = true |
||
) |
Definition at line 120 of file class.ilOrgUnitGenericMultiInputGUI.php.
Referenced by __construct().
ilOrgUnitGenericMultiInputGUI::setPositionMovable | ( | bool | $position_movable | ) |
Definition at line 412 of file class.ilOrgUnitGenericMultiInputGUI.php.
References $position_movable.
ilOrgUnitGenericMultiInputGUI::setRenderOneForEmptyValue | ( | bool | $render_one_for_empty_value | ) |
Definition at line 443 of file class.ilOrgUnitGenericMultiInputGUI.php.
References $render_one_for_empty_value.
ilOrgUnitGenericMultiInputGUI::setShowInfo | ( | bool | $show_info | ) |
Definition at line 433 of file class.ilOrgUnitGenericMultiInputGUI.php.
References $show_info.
ilOrgUnitGenericMultiInputGUI::setShowLabel | ( | bool | $show_label | ) |
Definition at line 106 of file class.ilOrgUnitGenericMultiInputGUI.php.
References $show_label.
Referenced by ilOrgUnitPositionFormGUI\initFormElements(), and setShowLabelOnce().
ilOrgUnitGenericMultiInputGUI::setShowLabelOnce | ( | bool | $show_label_once | ) |
Definition at line 422 of file class.ilOrgUnitGenericMultiInputGUI.php.
References $show_label_once, and setShowLabel().
ilOrgUnitGenericMultiInputGUI::setTemplateDir | ( | string | $template_dir | ) |
Definition at line 96 of file class.ilOrgUnitGenericMultiInputGUI.php.
References $template_dir.
ilOrgUnitGenericMultiInputGUI::setValue | ( | array | $value | ) |
Definition at line 125 of file class.ilOrgUnitGenericMultiInputGUI.php.
References ILIAS\LTI\ToolProvider\$key, $value, and IL_CAL_DATE.
Referenced by setValueByArray().
ilOrgUnitGenericMultiInputGUI::setValueByArray | ( | array | $a_values | ) |
Definition at line 150 of file class.ilOrgUnitGenericMultiInputGUI.php.
References $data, ilFormPropertyGUI\getMulti(), ilFormPropertyGUI\getPostVar(), and setValue().
|
protected |
Definition at line 47 of file class.ilOrgUnitGenericMultiInputGUI.php.
|
protected |
Definition at line 35 of file class.ilOrgUnitGenericMultiInputGUI.php.
Referenced by getCustomAttributes().
|
protected |
Definition at line 45 of file class.ilOrgUnitGenericMultiInputGUI.php.
|
protected |
Definition at line 39 of file class.ilOrgUnitGenericMultiInputGUI.php.
|
protected |
Definition at line 38 of file class.ilOrgUnitGenericMultiInputGUI.php.
|
protected |
Definition at line 37 of file class.ilOrgUnitGenericMultiInputGUI.php.
Referenced by getInputs(), and render().
|
protected |
Definition at line 40 of file class.ilOrgUnitGenericMultiInputGUI.php.
|
protected |
Definition at line 46 of file class.ilOrgUnitGenericMultiInputGUI.php.
Referenced by isPositionMovable(), and setPositionMovable().
|
protected |
Definition at line 42 of file class.ilOrgUnitGenericMultiInputGUI.php.
|
protected |
Definition at line 49 of file class.ilOrgUnitGenericMultiInputGUI.php.
Referenced by isRenderOneForEmptyValue(), and setRenderOneForEmptyValue().
|
protected |
Definition at line 48 of file class.ilOrgUnitGenericMultiInputGUI.php.
Referenced by isShowInfo(), and setShowInfo().
|
protected |
Definition at line 43 of file class.ilOrgUnitGenericMultiInputGUI.php.
Referenced by isShowLabel(), and setShowLabel().
|
protected |
Definition at line 44 of file class.ilOrgUnitGenericMultiInputGUI.php.
Referenced by isShowLabelOnce(), and setShowLabelOnce().
|
protected |
Definition at line 41 of file class.ilOrgUnitGenericMultiInputGUI.php.
Referenced by getTemplateDir(), and setTemplateDir().
|
protected |
Definition at line 36 of file class.ilOrgUnitGenericMultiInputGUI.php.
Referenced by addCustomAttribute(), render(), and setValue().
const ilOrgUnitGenericMultiInputGUI::HOOK_BEFORE_INPUT_RENDER = "hook_before_render" |
Definition at line 29 of file class.ilOrgUnitGenericMultiInputGUI.php.
const ilOrgUnitGenericMultiInputGUI::HOOK_IS_INPUT_DISABLED = "hook_is_disabled" |
Definition at line 28 of file class.ilOrgUnitGenericMultiInputGUI.php.
const ilOrgUnitGenericMultiInputGUI::HOOK_IS_LINE_REMOVABLE = "hook_is_line_removable" |
Definition at line 27 of file class.ilOrgUnitGenericMultiInputGUI.php.
const ilOrgUnitGenericMultiInputGUI::MULTI_FIELD_ID = "id" |
Definition at line 31 of file class.ilOrgUnitGenericMultiInputGUI.php.
Referenced by ilOrgUnitPositionFormGUI\initFormElements().
const ilOrgUnitGenericMultiInputGUI::MULTI_FIELD_OVER = "over" |
Definition at line 32 of file class.ilOrgUnitGenericMultiInputGUI.php.
Referenced by ilOrgUnitPositionFormGUI\initFormElements().
const ilOrgUnitGenericMultiInputGUI::MULTI_FIELD_SCOPE = "scope" |
Definition at line 33 of file class.ilOrgUnitGenericMultiInputGUI.php.
Referenced by ilOrgUnitPositionFormGUI\initFormElements().