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 ($a_title="", $a_postvar="") | |
getElementAddCmd () | |
setElementAddCmd ($elementAddCmd) | |
getElementRemoveCmd () | |
setElementRemoveCmd ($elementRemoveCmd) | |
getElementMoveUpCommand () | |
setElementMoveUpCommand ($elementMoveUpCommand) | |
getElementMoveDownCommand () | |
setElementMoveDownCommand ($elementMoveDownCommand) | |
setValues ($values) | |
getValues () | |
setValue ($value) | |
getValue () | |
setMultiValues (array $values) | |
getMultiValues () | |
setIdentifiedMultiValues ($values) | |
getIdentifiedMultiValues () | |
setValueByArray (array $a_values) | |
getInput () | |
checkInput () | |
onCheckInput () | |
prepareReprintable (assQuestion $question) | |
![]() | |
__construct (string $a_title="", string $a_postvar="") | |
setValue ($a_value) | |
getValue () | |
setValidationFailureMessage (string $a_msg) | |
getValidationFailureMessage () | |
setValidationRegexp (string $a_value) | |
getValidationRegexp () | |
setMaxLength (?int $a_maxlength) | |
getMaxLength () | |
setSize (int $a_size) | |
setInlineStyle (string $a_style) | |
getInlineStyle () | |
setCssClass (string $a_class) | |
getCssClass () | |
setValueByArray (array $a_values) | |
getSize () | |
setSuffix (string $a_value) | |
getSuffix () | |
setInputType (string $a_type) | |
set input type More... | |
getInputType () | |
setSubmitFormOnEnter (bool $a_val) | |
getSubmitFormOnEnter () | |
checkInput () | |
getInput () | |
getDataSource () | |
setDataSource (string $href, string $a_delimiter=null) | |
setDataSourceSubmitOnSelection (bool $a_stat) | |
getDataSourceSubmitOnSelection () | |
setDataSourceSubmitUrl (string $a_url) | |
getDataSourceSubmitUrl () | |
setMultiValues (array $a_values) | |
render (string $a_mode="") | |
insert (ilTemplate $a_tpl) | |
getTableFilterHTML () | |
Get input item HTML to be inserted into table filters. More... | |
getToolbarHTML () | |
Get input item HTML to be inserted into ilToolbarGUI. More... | |
setDisableHtmlAutoComplete (bool $autocomplete) | |
isHtmlAutoCompleteDisabled () | |
getPostValueForComparison () | |
![]() | |
addSubItem (ilFormPropertyGUI $a_item) | |
getSubItems () | |
getSubInputItemsRecursive () | |
returns a flat array of possibly existing subitems recursively More... | |
checkSubItemsInput () | |
Check SubItems. More... | |
getSubForm () | |
getItemByPostVar (string $a_post_var) | |
![]() | |
__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... | |
![]() | |
getTableFilterLabelFor () | |
Get label "for" attribute value. More... | |
Data Fields | |
const | ELEMENT_DEFAULT_ADD_CMD = 'addElement' |
const | ELEMENT_DEFAULT_REMOVE_CMD = 'removeElement' |
const | ELEMENT_DEFAULT_MOVE_UP_CMD = 'moveUpElement' |
const | ELEMENT_DEFAULT_MOVE_DOWN_CMD = 'moveDownElement' |
Protected Member Functions | |
getMultiValueSubFieldId ($identifier, $subFieldIndex) | |
getMultiValuePosIndexedFieldId ($identifier, $positionIndex) | |
getMultiValuePosIndexedSubFieldId ($identifier, $subFieldIndex, $positionIndex) | |
getFieldIdFromPostVar ($tempPostVar) | |
getPostVarSubField ($subFieldIndex) | |
getMultiValuePostVarSubField ($identifier, $subFieldIndex) | |
getMultiValuePostVarSubFieldPosIndexed ($identifier, $subFieldIndex, $positionIndex) | |
getMultiValuePostVarPosIndexed ($identifier, $positionIndex) | |
getMultiValuePostVar ($identifier) | |
buildMultiValueSubmitVar ($identifier, $positionIndex, $submitCommand) | |
setIdentifiedMultiValuesByArray ($a_values) | |
prepareMultiValuesInput ($values) | |
prepareMultiValuesSubmit ($values) | |
getFormValuesManipulators () | |
addFormValuesManipulator (ilFormValuesManipulator $manipulator) | |
getSubFieldCompletedPostVar ($subFieldIndex, $elemPostVar) | |
![]() | |
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 | |
$elementAddCmd = self::ELEMENT_DEFAULT_ADD_CMD | |
$elementRemoveCmd = self::ELEMENT_DEFAULT_REMOVE_CMD | |
$elementMoveUpCommand = self::ELEMENT_DEFAULT_MOVE_UP_CMD | |
$elementMoveDownCommand = self::ELEMENT_DEFAULT_MOVE_DOWN_CMD | |
$identified_multi_values = array() | |
$formValuesManipulationChain = array() | |
![]() | |
$value = null | |
int | $maxlength = 200 |
int | $size = 40 |
string | $validationRegexp = "" |
string | $validationFailureMessage = '' |
string | $suffix = "" |
string | $style_css = "" |
string | $css_class = "" |
string | $ajax_datasource = "" |
string | $ajax_datasource_delimiter = null |
bool | $ajax_datasource_commit = false |
string | $ajax_datasource_commit_url = "" |
bool | $submit_form_on_enter = false |
bool | $autocomplete_disabled = false |
string | $input_type = "" |
![]() | |
array | $sub_items = array() |
![]() | |
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... | |
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
Definition at line 22 of file class.ilIdentifiedMultiValuesInputGUI.php.
ilIdentifiedMultiValuesInputGUI::__construct | ( | $a_title = "" , |
|
$a_postvar = "" |
|||
) |
Definition at line 38 of file class.ilIdentifiedMultiValuesInputGUI.php.
References ILIAS\GlobalScreen\Provider\__construct(), and addFormValuesManipulator().
|
protected |
Definition at line 273 of file class.ilIdentifiedMultiValuesInputGUI.php.
Referenced by ilAssOrderingImagesInputGUI\__construct(), ilAssOrderingTextsInputGUI\__construct(), __construct(), ilMultipleNestedOrderingElementsInputGUI\__construct(), and ilAssNestedOrderingElementsInputGUI\__construct().
|
protected |
Definition at line 205 of file class.ilIdentifiedMultiValuesInputGUI.php.
Referenced by ilDclMultiTextInputGUI\render(), ilMultipleTextsInputGUI\render(), and ilMultipleImagesInputGUI\render().
|
final |
Definition at line 241 of file class.ilIdentifiedMultiValuesInputGUI.php.
References onCheckInput().
ilIdentifiedMultiValuesInputGUI::getElementAddCmd | ( | ) |
Definition at line 45 of file class.ilIdentifiedMultiValuesInputGUI.php.
References $elementAddCmd.
ilIdentifiedMultiValuesInputGUI::getElementMoveDownCommand | ( | ) |
Definition at line 78 of file class.ilIdentifiedMultiValuesInputGUI.php.
References $elementMoveDownCommand.
ilIdentifiedMultiValuesInputGUI::getElementMoveUpCommand | ( | ) |
Definition at line 68 of file class.ilIdentifiedMultiValuesInputGUI.php.
References $elementMoveUpCommand.
ilIdentifiedMultiValuesInputGUI::getElementRemoveCmd | ( | ) |
Definition at line 58 of file class.ilIdentifiedMultiValuesInputGUI.php.
References $elementRemoveCmd.
|
protected |
Definition at line 156 of file class.ilIdentifiedMultiValuesInputGUI.php.
References ilFormPropertyGUI\getFieldId(), ilFormPropertyGUI\getPostVar(), and ilFormPropertyGUI\setPostVar().
Referenced by getMultiValuePosIndexedFieldId(), getMultiValuePosIndexedSubFieldId(), and getMultiValueSubFieldId().
|
protected |
Definition at line 268 of file class.ilIdentifiedMultiValuesInputGUI.php.
References $formValuesManipulationChain.
Referenced by prepareMultiValuesInput(), and prepareMultiValuesSubmit().
|
final |
Definition at line 127 of file class.ilIdentifiedMultiValuesInputGUI.php.
References $identified_multi_values.
Referenced by ilAssOrderingImagesInputGUI\getElementList(), ilAssOrderingTextsInputGUI\getElementList(), ilAssNestedOrderingElementsInputGUI\getElementList(), ilDclMultiTextInputGUI\getMultiValues(), ilDclMultiTextInputGUI\getValue(), ilDclMultiTextInputGUI\getValues(), prepareReprintable(), ilDclMultiTextInputGUI\render(), ilMultipleTextsInputGUI\render(), ilMultipleImagesInputGUI\render(), and ilMultipleNestedOrderingElementsInputGUI\renderMainList().
ilIdentifiedMultiValuesInputGUI::getInput | ( | ) |
Definition at line 234 of file class.ilIdentifiedMultiValuesInputGUI.php.
References ilFormPropertyGUI\arrayArray(), ilFormPropertyGUI\getPostVar(), and prepareMultiValuesSubmit().
Referenced by ilMultipleTextsInputGUI\onCheckInput(), and ilMultipleImagesInputGUI\onCheckInput().
|
protected |
Definition at line 140 of file class.ilIdentifiedMultiValuesInputGUI.php.
References getFieldIdFromPostVar(), and getMultiValuePostVarPosIndexed().
Referenced by ilDclMultiTextInputGUI\render(), and ilMultipleTextsInputGUI\render().
|
protected |
Definition at line 148 of file class.ilIdentifiedMultiValuesInputGUI.php.
References getFieldIdFromPostVar(), and getMultiValuePostVarSubFieldPosIndexed().
Referenced by ilDclMultiTextInputGUI\render(), ilMultipleTextsInputGUI\render(), and ilMultipleImagesInputGUI\render().
|
protected |
Definition at line 198 of file class.ilIdentifiedMultiValuesInputGUI.php.
References ilFormPropertyGUI\getPostVar().
Referenced by getMultiValuePostVarPosIndexed(), and getMultiValuePostVarSubField().
|
protected |
Definition at line 190 of file class.ilIdentifiedMultiValuesInputGUI.php.
References getMultiValuePostVar().
Referenced by getMultiValuePosIndexedFieldId(), getMultiValuePostVarSubFieldPosIndexed(), ilDclMultiTextInputGUI\render(), and ilMultipleTextsInputGUI\render().
|
protected |
Definition at line 174 of file class.ilIdentifiedMultiValuesInputGUI.php.
References getMultiValuePostVar(), and getSubFieldCompletedPostVar().
Referenced by getMultiValueSubFieldId(), and ilMultipleNestedOrderingElementsInputGUI\renderListItem().
|
protected |
Definition at line 182 of file class.ilIdentifiedMultiValuesInputGUI.php.
References getMultiValuePostVarPosIndexed(), and getSubFieldCompletedPostVar().
Referenced by getMultiValuePosIndexedSubFieldId(), and ilMultipleImagesInputGUI\render().
ilIdentifiedMultiValuesInputGUI::getMultiValues | ( | ) |
Definition at line 117 of file class.ilIdentifiedMultiValuesInputGUI.php.
|
protected |
Definition at line 132 of file class.ilIdentifiedMultiValuesInputGUI.php.
References getFieldIdFromPostVar(), and getMultiValuePostVarSubField().
Referenced by ilMultipleNestedOrderingElementsInputGUI\renderListItem().
|
protected |
Definition at line 169 of file class.ilIdentifiedMultiValuesInputGUI.php.
References ilFormPropertyGUI\getPostVar(), and getSubFieldCompletedPostVar().
Referenced by ilMultipleNestedOrderingElementsInputGUI\renderJsInit().
|
protected |
$subFieldIndex | |
$elemPostVar |
Definition at line 283 of file class.ilIdentifiedMultiValuesInputGUI.php.
References ilFormPropertyGUI\getPostVar().
Referenced by getMultiValuePostVarSubField(), getMultiValuePostVarSubFieldPosIndexed(), and getPostVarSubField().
ilIdentifiedMultiValuesInputGUI::getValue | ( | ) |
Definition at line 107 of file class.ilIdentifiedMultiValuesInputGUI.php.
ilIdentifiedMultiValuesInputGUI::getValues | ( | ) |
ilFormException |
Definition at line 97 of file class.ilIdentifiedMultiValuesInputGUI.php.
|
abstract |
|
finalprotected |
Definition at line 248 of file class.ilIdentifiedMultiValuesInputGUI.php.
References getFormValuesManipulators().
Referenced by ilMultipleImagesInputGUI\render(), and setIdentifiedMultiValues().
|
finalprotected |
Definition at line 258 of file class.ilIdentifiedMultiValuesInputGUI.php.
References getFormValuesManipulators().
Referenced by getInput(), and setValueByArray().
ilIdentifiedMultiValuesInputGUI::prepareReprintable | ( | assQuestion | $question | ) |
Definition at line 290 of file class.ilIdentifiedMultiValuesInputGUI.php.
References getIdentifiedMultiValues(), and setIdentifiedMultiValues().
ilIdentifiedMultiValuesInputGUI::setElementAddCmd | ( | $elementAddCmd | ) |
string | $elementAddCmd |
Definition at line 53 of file class.ilIdentifiedMultiValuesInputGUI.php.
References $elementAddCmd.
ilIdentifiedMultiValuesInputGUI::setElementMoveDownCommand | ( | $elementMoveDownCommand | ) |
Definition at line 83 of file class.ilIdentifiedMultiValuesInputGUI.php.
References $elementMoveDownCommand.
ilIdentifiedMultiValuesInputGUI::setElementMoveUpCommand | ( | $elementMoveUpCommand | ) |
Definition at line 73 of file class.ilIdentifiedMultiValuesInputGUI.php.
References $elementMoveUpCommand.
ilIdentifiedMultiValuesInputGUI::setElementRemoveCmd | ( | $elementRemoveCmd | ) |
Definition at line 63 of file class.ilIdentifiedMultiValuesInputGUI.php.
References $elementRemoveCmd.
|
final |
Definition at line 122 of file class.ilIdentifiedMultiValuesInputGUI.php.
References prepareMultiValuesInput().
Referenced by prepareReprintable(), ilAssOrderingImagesInputGUI\setElementList(), ilAssOrderingTextsInputGUI\setElementList(), ilAssNestedOrderingElementsInputGUI\setElementList(), ilDclMultiTextInputGUI\setMultiValues(), ilDclMultiTextInputGUI\setValue(), and ilDclMultiTextInputGUI\setValues().
|
protected |
Definition at line 226 of file class.ilIdentifiedMultiValuesInputGUI.php.
References ilFormPropertyGUI\getPostVar().
Referenced by setValueByArray().
ilIdentifiedMultiValuesInputGUI::setMultiValues | ( | array | $values | ) |
Definition at line 112 of file class.ilIdentifiedMultiValuesInputGUI.php.
ilIdentifiedMultiValuesInputGUI::setValue | ( | $value | ) |
Definition at line 102 of file class.ilIdentifiedMultiValuesInputGUI.php.
|
final |
Definition at line 213 of file class.ilIdentifiedMultiValuesInputGUI.php.
References ilFormPropertyGUI\getPostVar(), prepareMultiValuesSubmit(), and setIdentifiedMultiValuesByArray().
ilIdentifiedMultiValuesInputGUI::setValues | ( | $values | ) |
Definition at line 88 of file class.ilIdentifiedMultiValuesInputGUI.php.
|
protected |
Definition at line 29 of file class.ilIdentifiedMultiValuesInputGUI.php.
Referenced by getElementAddCmd(), and setElementAddCmd().
|
protected |
Definition at line 32 of file class.ilIdentifiedMultiValuesInputGUI.php.
Referenced by getElementMoveDownCommand(), and setElementMoveDownCommand().
|
protected |
Definition at line 31 of file class.ilIdentifiedMultiValuesInputGUI.php.
Referenced by getElementMoveUpCommand(), and setElementMoveUpCommand().
|
protected |
Definition at line 30 of file class.ilIdentifiedMultiValuesInputGUI.php.
Referenced by getElementRemoveCmd(), and setElementRemoveCmd().
|
protected |
Definition at line 36 of file class.ilIdentifiedMultiValuesInputGUI.php.
Referenced by getFormValuesManipulators().
|
protected |
Definition at line 34 of file class.ilIdentifiedMultiValuesInputGUI.php.
Referenced by getIdentifiedMultiValues(), and ilMultipleImagesInputGUI\render().
const ilIdentifiedMultiValuesInputGUI::ELEMENT_DEFAULT_ADD_CMD = 'addElement' |
Definition at line 24 of file class.ilIdentifiedMultiValuesInputGUI.php.
const ilIdentifiedMultiValuesInputGUI::ELEMENT_DEFAULT_MOVE_DOWN_CMD = 'moveDownElement' |
Definition at line 27 of file class.ilIdentifiedMultiValuesInputGUI.php.
const ilIdentifiedMultiValuesInputGUI::ELEMENT_DEFAULT_MOVE_UP_CMD = 'moveUpElement' |
Definition at line 26 of file class.ilIdentifiedMultiValuesInputGUI.php.
const ilIdentifiedMultiValuesInputGUI::ELEMENT_DEFAULT_REMOVE_CMD = 'removeElement' |
Definition at line 25 of file class.ilIdentifiedMultiValuesInputGUI.php.