|
ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
|
Inheritance diagram for ilAssNestedOrderingElementsInputGUI:
Collaboration diagram for ilAssNestedOrderingElementsInputGUI:Data Fields | |
| const | CONTEXT_QUESTION_PREVIEW = 'QuestionPreview' |
| const | CONTEXT_CORRECT_SOLUTION_PRESENTATION = 'CorrectSolutionPresent' |
| const | CONTEXT_USER_SOLUTION_PRESENTATION = 'UserSolutionPresent' |
| const | CONTEXT_USER_SOLUTION_SUBMISSION = 'UserSolutionSubmit' |
| const | ILC_CSS_CLASS_LIST = 'ilc_qordul_OrderList' |
| const | ILC_CSS_CLASS_ITEM = 'ilc_qordli_OrderListItem' |
| const | DEFAULT_THUMBNAIL_PREFIX = 'thumb.' |
Data Fields inherited from ilMultipleNestedOrderingElementsInputGUI | |
| const | HTML_LIST_TAG_UL = 'ul' |
| const | HTML_LIST_TAG_OL = 'ol' |
| const | CSS_LIST_CLASS = 'dd-list' |
| const | CSS_ITEM_CLASS = 'dd-item' |
| const | CSS_HANDLE_CLASS = 'il-dd-handle' |
| const | POSTVAR_SUBFIELD_NEST_ELEM = 'content' |
| const | POSTVAR_SUBFIELD_NEST_INDENT = 'indentation' |
| const | DEFAULT_INSTANCE_ID = 'default' |
Data Fields inherited from ilIdentifiedMultiValuesInputGUI | |
| 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 | |
| getCorrectness ($identifier) | |
| getItemTemplate () | |
| getThumbnailFilename ($element) | |
| getThumbnailSource ($element) | |
| getItemHtml ($element, $identifier, $position, $itemSubFieldPostVar, $itemSubFieldId) | |
| getCurrentIndentation ($elementValues, $elementCounter) | |
| getNextIndentation ($elementValues, $elementCounter) | |
Protected Member Functions inherited from ilMultipleNestedOrderingElementsInputGUI | |
| isStylingEnabled () | |
| getGlobalTpl () | |
| initListTemplate () | |
| fetchListHtml () | |
| renderListContainer () | |
| renderListSnippet () | |
| renderListItem ($value, $identifier, $position) | |
| getItemHtml ($value, $identifier, $position, $itemSubFieldPostVar, $itemSubFieldId) | |
| renderBeginListItem ($identifier) | |
| renderEndListItem () | |
| renderBeginSubList () | |
| renderEndSubList () | |
| getCurrentIndentation ($elementValues, $elementCounter) | |
| getNextIndentation ($elementValues, $elementCounter) | |
| renderMainList () | |
| renderJsInit () | |
Protected Member Functions inherited from ilIdentifiedMultiValuesInputGUI | |
| 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) | |
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) | |
Protected Attributes | |
| $context = null | |
| $uniquePrefix = null | |
| $orderingType = null | |
| $thumbnailFilenamePrefix = self::DEFAULT_THUMBNAIL_PREFIX | |
| $elementImagePath = null | |
| $showCorrectnessIconsEnabled = false | |
| $correctnessTrueElementList = null | |
Protected Attributes inherited from ilMultipleNestedOrderingElementsInputGUI | |
| $instanceId = self::DEFAULT_INSTANCE_ID | |
| $interactionEnabled = true | |
| $nestingEnabled = true | |
| $stylingDisabled = false | |
| $listTpl = null | |
| $cssListClass = self::CSS_LIST_CLASS | |
| $cssItemClass = self::CSS_ITEM_CLASS | |
| $cssHandleClass = self::CSS_HANDLE_CLASS | |
| $htmlListTag = self::HTML_LIST_TAG_OL | |
Protected Attributes inherited from ilIdentifiedMultiValuesInputGUI | |
| $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() | |
Protected Attributes inherited from ilTextInputGUI | |
| $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 = "" |
Protected Attributes inherited from ilSubEnabledFormPropertyGUI | |
| array | $sub_items = array() |
Protected Attributes inherited from ilFormPropertyGUI | |
| 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 | |
| getCorrectnessIcon ($correctness) | |
Private Attributes | |
| UIServices | $ui |
Additional Inherited Members | |
Static Public Member Functions inherited from ilFormPropertyGUI | |
| static | removeProhibitedCharacters (string $a_text) |
| Remove prohibited characters see #19159. More... | |
Definition at line 27 of file class.ilAssNestedOrderingElementsInputGUI.php.
| ilAssNestedOrderingElementsInputGUI::__construct | ( | ilAssOrderingFormValuesObjectsConverter | $converter, |
| $postVar | |||
| ) |
ilAssNestedOrderingElementsInputGUI constructor.
| ilAssOrderingFormValuesObjectsConverter | $converter | |
| string | $postVar |
Definition at line 82 of file class.ilAssNestedOrderingElementsInputGUI.php.
References $DIC, ILIAS\MetaData\Repository\Validation\Data\__construct(), ilIdentifiedMultiValuesInputGUI\addFormValuesManipulator(), ilMultipleNestedOrderingElementsInputGUI\getCssHandleClass(), ilMultipleNestedOrderingElementsInputGUI\getCssItemClass(), ilMultipleNestedOrderingElementsInputGUI\getCssListClass(), ilMultipleNestedOrderingElementsInputGUI\setCssHandleClass(), ilMultipleNestedOrderingElementsInputGUI\setCssItemClass(), ilMultipleNestedOrderingElementsInputGUI\setCssListClass(), ilMultipleNestedOrderingElementsInputGUI\setHtmlListTag(), and ILIAS\Repository\ui().
Here is the call graph for this function:| ilAssNestedOrderingElementsInputGUI::getContext | ( | ) |
Definition at line 142 of file class.ilAssNestedOrderingElementsInputGUI.php.
References $context.
Referenced by getInstanceId().
Here is the caller graph for this function:
|
protected |
| $identifier |
Definition at line 255 of file class.ilAssNestedOrderingElementsInputGUI.php.
References getCorrectnessTrueElementList().
Referenced by getItemHtml().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 260 of file class.ilAssNestedOrderingElementsInputGUI.php.
References $path, ilUtil\getImagePath(), ILIAS\Repository\lng(), and ILIAS\Repository\ui().
Referenced by getItemHtml().
Here is the call graph for this function:
Here is the caller graph for this function:| ilAssNestedOrderingElementsInputGUI::getCorrectnessTrueElementList | ( | ) |
Definition at line 238 of file class.ilAssNestedOrderingElementsInputGUI.php.
References $correctnessTrueElementList.
Referenced by getCorrectness().
Here is the caller graph for this function:
|
protected |
| array | $elementValues | |
| integer | $elementCounter |
Definition at line 356 of file class.ilAssNestedOrderingElementsInputGUI.php.
| ilAssNestedOrderingElementsInputGUI::getElementImagePath | ( | ) |
Definition at line 198 of file class.ilAssNestedOrderingElementsInputGUI.php.
References $elementImagePath.
Referenced by getThumbnailSource().
Here is the caller graph for this function:| ilAssNestedOrderingElementsInputGUI::getElementList | ( | $questionId | ) |
| $questionId |
Definition at line 111 of file class.ilAssNestedOrderingElementsInputGUI.php.
References ilAssOrderingElementList\buildInstance(), and ilIdentifiedMultiValuesInputGUI\getIdentifiedMultiValues().
Referenced by prepareReprintable().
Here is the call graph for this function:
Here is the caller graph for this function:| ilAssNestedOrderingElementsInputGUI::getInstanceId | ( | ) |
Definition at line 130 of file class.ilAssNestedOrderingElementsInputGUI.php.
References getContext(), and getUniquePrefix().
Here is the call graph for this function:
|
protected |
| ilAssOrderingElement | $element | |
| string | $identifier | |
| int | $position | |
| string | $itemSubFieldPostVar | |
| string | $itemSubFieldId |
Definition at line 308 of file class.ilAssNestedOrderingElementsInputGUI.php.
References getCorrectness(), getCorrectnessIcon(), getItemTemplate(), getOrderingType(), getThumbnailFilename(), getThumbnailSource(), isShowCorrectnessIconsEnabled(), assOrderingQuestion\OQ_NESTED_PICTURES, assOrderingQuestion\OQ_NESTED_TERMS, assOrderingQuestion\OQ_PICTURES, assOrderingQuestion\OQ_TERMS, and ilLegacyFormElementsUtil\prepareFormOutput().
Here is the call graph for this function:
|
protected |
Definition at line 279 of file class.ilAssNestedOrderingElementsInputGUI.php.
Referenced by getItemHtml().
Here is the caller graph for this function:
|
protected |
| array | $elementValues | |
| integer | $elementCounter |
Definition at line 370 of file class.ilAssNestedOrderingElementsInputGUI.php.
| ilAssNestedOrderingElementsInputGUI::getOrderingType | ( | ) |
Definition at line 182 of file class.ilAssNestedOrderingElementsInputGUI.php.
References $orderingType.
Referenced by getItemHtml().
Here is the caller graph for this function:
|
protected |
Definition at line 287 of file class.ilAssNestedOrderingElementsInputGUI.php.
References getThumbPrefix().
Referenced by getItemHtml(), and getThumbnailSource().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 295 of file class.ilAssNestedOrderingElementsInputGUI.php.
References getElementImagePath(), and getThumbnailFilename().
Referenced by getItemHtml().
Here is the call graph for this function:
Here is the caller graph for this function:| ilAssNestedOrderingElementsInputGUI::getThumbPrefix | ( | ) |
Definition at line 214 of file class.ilAssNestedOrderingElementsInputGUI.php.
References $thumbnailFilenamePrefix.
Referenced by getThumbnailFilename().
Here is the caller graph for this function:| ilAssNestedOrderingElementsInputGUI::getUniquePrefix | ( | ) |
Definition at line 158 of file class.ilAssNestedOrderingElementsInputGUI.php.
References $uniquePrefix.
Referenced by getInstanceId().
Here is the caller graph for this function:| ilAssNestedOrderingElementsInputGUI::isPostSubmit | ( | $data | ) |
Definition at line 379 of file class.ilAssNestedOrderingElementsInputGUI.php.
References $data, and ilFormPropertyGUI\getPostVar().
Referenced by assOrderingQuestion\getSolutionOrderingElementListForTestOutput().
Here is the call graph for this function:
Here is the caller graph for this function:| ilAssNestedOrderingElementsInputGUI::isShowCorrectnessIconsEnabled | ( | ) |
Definition at line 230 of file class.ilAssNestedOrderingElementsInputGUI.php.
References $showCorrectnessIconsEnabled.
Referenced by getItemHtml().
Here is the caller graph for this function:| ilAssNestedOrderingElementsInputGUI::prepareReprintable | ( | assQuestion | $question | ) |
| assOrderingQuestion | $question |
Definition at line 119 of file class.ilAssNestedOrderingElementsInputGUI.php.
References getElementList(), assQuestion\getId(), and setElementList().
Here is the call graph for this function:| ilAssNestedOrderingElementsInputGUI::setContext | ( | $context | ) |
| string | $context |
Definition at line 150 of file class.ilAssNestedOrderingElementsInputGUI.php.
References $context.
| ilAssNestedOrderingElementsInputGUI::setCorrectnessTrueElementList | ( | ilAssOrderingElementList | $correctnessTrueElementList | ) |
| ilAssOrderingElementList | $correctnessTrueElementList |
Definition at line 246 of file class.ilAssNestedOrderingElementsInputGUI.php.
References $correctnessTrueElementList.
| ilAssNestedOrderingElementsInputGUI::setElementImagePath | ( | $elementImagePath | ) |
| string | $elementImagePath |
Definition at line 190 of file class.ilAssNestedOrderingElementsInputGUI.php.
References $elementImagePath.
| ilAssNestedOrderingElementsInputGUI::setElementList | ( | ilAssOrderingElementList | $elementList | ) |
| ilAssOrderingElementList | $elementList |
Definition at line 102 of file class.ilAssNestedOrderingElementsInputGUI.php.
References ilAssOrderingElementList\getRandomIdentifierIndexedElements(), and ilIdentifiedMultiValuesInputGUI\setIdentifiedMultiValues().
Referenced by prepareReprintable().
Here is the call graph for this function:
Here is the caller graph for this function:| ilAssNestedOrderingElementsInputGUI::setOrderingType | ( | $orderingType | ) |
| mixed | $orderingType |
Definition at line 174 of file class.ilAssNestedOrderingElementsInputGUI.php.
References $orderingType.
| ilAssNestedOrderingElementsInputGUI::setShowCorrectnessIconsEnabled | ( | $showCorrectnessIconsEnabled | ) |
| $showCorrectnessIconsEnabled |
Definition at line 222 of file class.ilAssNestedOrderingElementsInputGUI.php.
References $showCorrectnessIconsEnabled.
| ilAssNestedOrderingElementsInputGUI::setThumbPrefix | ( | $thumbnailFilenamePrefix | ) |
| string | $thumbnailFilenamePrefix |
Definition at line 206 of file class.ilAssNestedOrderingElementsInputGUI.php.
References $thumbnailFilenamePrefix.
| ilAssNestedOrderingElementsInputGUI::setUniquePrefix | ( | $uniquePrefix | ) |
| string | $uniquePrefix |
Definition at line 166 of file class.ilAssNestedOrderingElementsInputGUI.php.
References $uniquePrefix.
|
protected |
Definition at line 42 of file class.ilAssNestedOrderingElementsInputGUI.php.
Referenced by getContext(), and setContext().
|
protected |
Definition at line 72 of file class.ilAssNestedOrderingElementsInputGUI.php.
Referenced by getCorrectnessTrueElementList(), and setCorrectnessTrueElementList().
|
protected |
Definition at line 62 of file class.ilAssNestedOrderingElementsInputGUI.php.
Referenced by getElementImagePath(), and setElementImagePath().
|
protected |
Definition at line 52 of file class.ilAssNestedOrderingElementsInputGUI.php.
Referenced by getOrderingType(), and setOrderingType().
|
protected |
Definition at line 67 of file class.ilAssNestedOrderingElementsInputGUI.php.
Referenced by isShowCorrectnessIconsEnabled(), and setShowCorrectnessIconsEnabled().
|
protected |
Definition at line 57 of file class.ilAssNestedOrderingElementsInputGUI.php.
Referenced by getThumbPrefix(), and setThumbPrefix().
|
private |
Definition at line 74 of file class.ilAssNestedOrderingElementsInputGUI.php.
|
protected |
Definition at line 47 of file class.ilAssNestedOrderingElementsInputGUI.php.
Referenced by getUniquePrefix(), and setUniquePrefix().
| const ilAssNestedOrderingElementsInputGUI::CONTEXT_CORRECT_SOLUTION_PRESENTATION = 'CorrectSolutionPresent' |
Definition at line 30 of file class.ilAssNestedOrderingElementsInputGUI.php.
Referenced by assOrderingQuestionGUI\renderSolutionOutput().
| const ilAssNestedOrderingElementsInputGUI::CONTEXT_QUESTION_PREVIEW = 'QuestionPreview' |
Definition at line 29 of file class.ilAssNestedOrderingElementsInputGUI.php.
Referenced by assOrderingQuestionGUI\getPreview().
| const ilAssNestedOrderingElementsInputGUI::CONTEXT_USER_SOLUTION_PRESENTATION = 'UserSolutionPresent' |
Definition at line 31 of file class.ilAssNestedOrderingElementsInputGUI.php.
Referenced by assOrderingQuestionGUI\renderSolutionOutput().
| const ilAssNestedOrderingElementsInputGUI::CONTEXT_USER_SOLUTION_SUBMISSION = 'UserSolutionSubmit' |
Definition at line 32 of file class.ilAssNestedOrderingElementsInputGUI.php.
Referenced by assOrderingQuestion\fetchSolutionListFromFormSubmissionData(), and assOrderingQuestionGUI\getTestOutput().
| const ilAssNestedOrderingElementsInputGUI::DEFAULT_THUMBNAIL_PREFIX = 'thumb.' |
Definition at line 37 of file class.ilAssNestedOrderingElementsInputGUI.php.
| const ilAssNestedOrderingElementsInputGUI::ILC_CSS_CLASS_ITEM = 'ilc_qordli_OrderListItem' |
Definition at line 35 of file class.ilAssNestedOrderingElementsInputGUI.php.
| const ilAssNestedOrderingElementsInputGUI::ILC_CSS_CLASS_LIST = 'ilc_qordul_OrderList' |
Definition at line 34 of file class.ilAssNestedOrderingElementsInputGUI.php.