ILIAS
release_8 Revision v8.23
|
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.' |
![]() | |
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' |
![]() | |
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) | |
![]() | |
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 () | |
![]() | |
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 | |
$context = null | |
$uniquePrefix = null | |
$orderingType = null | |
$thumbnailFilenamePrefix = self::DEFAULT_THUMBNAIL_PREFIX | |
$elementImagePath = null | |
$showCorrectnessIconsEnabled = false | |
$correctnessTrueElementList = null | |
![]() | |
$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 | |
![]() | |
$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 |
Private Member Functions | |
getCorrectnessIcon ($correctness) | |
Private Attributes | |
UIServices | $ui |
Additional Inherited Members | |
![]() | |
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\GlobalScreen\Provider\__construct(), ilIdentifiedMultiValuesInputGUI\addFormValuesManipulator(), ilMultipleNestedOrderingElementsInputGUI\getCssHandleClass(), ilMultipleNestedOrderingElementsInputGUI\getCssItemClass(), ilMultipleNestedOrderingElementsInputGUI\getCssListClass(), ilMultipleNestedOrderingElementsInputGUI\setCssHandleClass(), ilMultipleNestedOrderingElementsInputGUI\setCssItemClass(), ilMultipleNestedOrderingElementsInputGUI\setCssListClass(), ilMultipleNestedOrderingElementsInputGUI\setHtmlListTag(), and ILIAS\Repository\ui().
ilAssNestedOrderingElementsInputGUI::getContext | ( | ) |
Definition at line 143 of file class.ilAssNestedOrderingElementsInputGUI.php.
References $context.
Referenced by getInstanceId().
|
protected |
$identifier |
Definition at line 256 of file class.ilAssNestedOrderingElementsInputGUI.php.
References getCorrectnessTrueElementList().
Referenced by getItemHtml().
|
private |
Definition at line 261 of file class.ilAssNestedOrderingElementsInputGUI.php.
References $path, ilUtil\getImagePath(), ILIAS\Repository\lng(), and ILIAS\Repository\ui().
Referenced by getItemHtml().
ilAssNestedOrderingElementsInputGUI::getCorrectnessTrueElementList | ( | ) |
Definition at line 239 of file class.ilAssNestedOrderingElementsInputGUI.php.
References $correctnessTrueElementList.
Referenced by getCorrectness().
|
protected |
array | $elementValues | |
integer | $elementCounter |
Definition at line 357 of file class.ilAssNestedOrderingElementsInputGUI.php.
ilAssNestedOrderingElementsInputGUI::getElementImagePath | ( | ) |
Definition at line 199 of file class.ilAssNestedOrderingElementsInputGUI.php.
References $elementImagePath.
Referenced by getThumbnailSource().
ilAssNestedOrderingElementsInputGUI::getElementList | ( | $questionId | ) |
$questionId |
Definition at line 111 of file class.ilAssNestedOrderingElementsInputGUI.php.
References ilAssOrderingElementList\buildInstance(), and ilIdentifiedMultiValuesInputGUI\getIdentifiedMultiValues().
Referenced by prepareReprintable().
ilAssNestedOrderingElementsInputGUI::getInstanceId | ( | ) |
Definition at line 131 of file class.ilAssNestedOrderingElementsInputGUI.php.
References getContext(), and getUniquePrefix().
|
protected |
ilAssOrderingElement | $element | |
string | $identifier | |
int | $position | |
string | $itemSubFieldPostVar | |
string | $itemSubFieldId |
Definition at line 309 of file class.ilAssNestedOrderingElementsInputGUI.php.
References $tpl, getCorrectness(), getCorrectnessIcon(), getItemTemplate(), getOrderingType(), getThumbnailFilename(), getThumbnailSource(), isShowCorrectnessIconsEnabled(), assOrderingQuestion\OQ_NESTED_PICTURES, assOrderingQuestion\OQ_NESTED_TERMS, assOrderingQuestion\OQ_PICTURES, assOrderingQuestion\OQ_TERMS, and ilLegacyFormElementsUtil\prepareFormOutput().
|
protected |
Definition at line 280 of file class.ilAssNestedOrderingElementsInputGUI.php.
Referenced by getItemHtml().
|
protected |
array | $elementValues | |
integer | $elementCounter |
Definition at line 371 of file class.ilAssNestedOrderingElementsInputGUI.php.
ilAssNestedOrderingElementsInputGUI::getOrderingType | ( | ) |
Definition at line 183 of file class.ilAssNestedOrderingElementsInputGUI.php.
References $orderingType.
Referenced by getItemHtml().
|
protected |
Definition at line 288 of file class.ilAssNestedOrderingElementsInputGUI.php.
References getThumbPrefix().
Referenced by getItemHtml(), and getThumbnailSource().
|
protected |
Definition at line 296 of file class.ilAssNestedOrderingElementsInputGUI.php.
References getElementImagePath(), and getThumbnailFilename().
Referenced by getItemHtml().
ilAssNestedOrderingElementsInputGUI::getThumbPrefix | ( | ) |
Definition at line 215 of file class.ilAssNestedOrderingElementsInputGUI.php.
References $thumbnailFilenamePrefix.
Referenced by getThumbnailFilename().
ilAssNestedOrderingElementsInputGUI::getUniquePrefix | ( | ) |
Definition at line 159 of file class.ilAssNestedOrderingElementsInputGUI.php.
References $uniquePrefix.
Referenced by getInstanceId().
ilAssNestedOrderingElementsInputGUI::isPostSubmit | ( | $data | ) |
Definition at line 380 of file class.ilAssNestedOrderingElementsInputGUI.php.
References $data, and ilFormPropertyGUI\getPostVar().
Referenced by assOrderingQuestion\getSolutionOrderingElementListForTestOutput().
ilAssNestedOrderingElementsInputGUI::isShowCorrectnessIconsEnabled | ( | ) |
Definition at line 231 of file class.ilAssNestedOrderingElementsInputGUI.php.
References $showCorrectnessIconsEnabled.
Referenced by getItemHtml().
ilAssNestedOrderingElementsInputGUI::prepareReprintable | ( | assQuestion | $question | ) |
assOrderingQuestion | $question |
Definition at line 120 of file class.ilAssNestedOrderingElementsInputGUI.php.
References getElementList(), assQuestion\getId(), and setElementList().
ilAssNestedOrderingElementsInputGUI::setContext | ( | $context | ) |
string | $context |
Definition at line 151 of file class.ilAssNestedOrderingElementsInputGUI.php.
References $context.
ilAssNestedOrderingElementsInputGUI::setCorrectnessTrueElementList | ( | ilAssOrderingElementList | $correctnessTrueElementList | ) |
ilAssOrderingElementList | $correctnessTrueElementList |
Definition at line 247 of file class.ilAssNestedOrderingElementsInputGUI.php.
References $correctnessTrueElementList.
ilAssNestedOrderingElementsInputGUI::setElementImagePath | ( | $elementImagePath | ) |
string | $elementImagePath |
Definition at line 191 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().
ilAssNestedOrderingElementsInputGUI::setOrderingType | ( | $orderingType | ) |
mixed | $orderingType |
Definition at line 175 of file class.ilAssNestedOrderingElementsInputGUI.php.
References $orderingType.
ilAssNestedOrderingElementsInputGUI::setShowCorrectnessIconsEnabled | ( | $showCorrectnessIconsEnabled | ) |
$showCorrectnessIconsEnabled |
Definition at line 223 of file class.ilAssNestedOrderingElementsInputGUI.php.
References $showCorrectnessIconsEnabled.
ilAssNestedOrderingElementsInputGUI::setThumbPrefix | ( | $thumbnailFilenamePrefix | ) |
string | $thumbnailFilenamePrefix |
Definition at line 207 of file class.ilAssNestedOrderingElementsInputGUI.php.
References $thumbnailFilenamePrefix.
ilAssNestedOrderingElementsInputGUI::setUniquePrefix | ( | $uniquePrefix | ) |
string | $uniquePrefix |
Definition at line 167 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\getSolutionOutput().
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\getSolutionOutput().
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.