ILIAS
trunk Revision v11.0_alpha-1715-g7fc467680fb
|
Public Member Functions | |
__construct (assQuestionGUI $questionGUI) | |
isEditingEnabled () | |
setEditingEnabled (bool $editingEnabled) | |
executeCommand () | |
confirmSyncCmd () | |
syncCmd () | |
getHintPresentationLinkTarget (int $hint_id, bool $xml_style=true) | |
![]() | |
__construct (assQuestionGUI $question_gui) | |
Constructor. More... | |
Data Fields | |
const | CMD_SHOW_LIST = 'showList' |
command constants More... | |
const | CMD_SHOW_HINT = 'showHint' |
const | CMD_CONFIRM_DELETE = 'confirmDelete' |
const | CMD_PERFORM_DELETE = 'performDelete' |
const | CMD_SAVE_LIST_ORDER = 'saveListOrder' |
const | CMD_CUT_TO_ORDERING_CLIPBOARD = 'cutToOrderingClipboard' |
const | CMD_PASTE_FROM_ORDERING_CLIPBOARD_BEFORE = 'pasteFromOrderingClipboardBefore' |
const | CMD_PASTE_FROM_ORDERING_CLIPBOARD_AFTER = 'pasteFromOrderingClipboardAfter' |
const | CMD_RESET_ORDERING_CLIPBOARD = 'resetOrderingClipboard' |
const | CMD_CONFIRM_SYNC = 'confirmSync' |
const | CMD_SYNC = 'sync' |
Protected Attributes | |
bool | $editingEnabled = false |
![]() | |
RequestDataCollector | $request_data_collector |
assQuestionGUI | $question_gui = null |
assQuestion | $question_obj = null |
ilTabsGUI | $tabs |
ilLanguage | $lng |
ilCtrl | $ctrl |
Private Member Functions | |
showListCmd (string $additional_content='') | |
confirmDeleteCmd () | |
performDeleteCmd () | |
saveListOrderCmd () | |
cutToOrderingClipboardCmd () | |
pasteFromOrderingClipboardBeforeCmd () | |
pasteFromOrderingClipboardAfterCmd () | |
pastes a hint from ordering clipboard after the selected one More... | |
resetOrderingClipboardCmd () | |
resets the ordering clipboard More... | |
initHintOrderingClipboardNotification () | |
inits the notification telling the user, that a hint is stored to hint ordering clipboard More... | |
checkForExistingHintRelatingToCurrentQuestionAndRedirectOnFailure ($hintId) | |
checks for an existing hint relating to current question and redirects with corresponding failure message on failure More... | |
getQuestionHintListWithoutHintStoredInOrderingClipboard (ilAssQuestionHintList $questionHintList) | |
checkForSingleHintIdAndRedirectOnFailure (array $hint_ids) | |
fetchHintIdsParameter () | |
fetchHintIndexesParameter () | |
showHintCmd () | |
Private Attributes | |
ilAssQuestionHintsOrderingClipboard | $hintOrderingClipboard = null |
GeneralQuestionPropertiesRepository | $questionrepository |
ilGlobalTemplateInterface | $main_tpl |
Definition at line 36 of file class.ilAssQuestionHintsGUI.php.
ilAssQuestionHintsGUI::__construct | ( | assQuestionGUI | $questionGUI | ) |
Definition at line 58 of file class.ilAssQuestionHintsGUI.php.
References $DIC, ILIAS\GlobalScreen\Provider\__construct(), ILIAS\Repository\ctrl(), and assQuestionGUI\getObject().
|
private |
checks for an existing hint relating to current question and redirects with corresponding failure message on failure
private
integer | $hintId |
Definition at line 475 of file class.ilAssQuestionHintsGUI.php.
References ILIAS\Repository\ctrl(), ilAssQuestionHintList\getListByQuestionId(), and ILIAS\Repository\lng().
Referenced by cutToOrderingClipboardCmd(), pasteFromOrderingClipboardAfterCmd(), and pasteFromOrderingClipboardBeforeCmd().
|
private |
Definition at line 499 of file class.ilAssQuestionHintsGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Referenced by cutToOrderingClipboardCmd(), pasteFromOrderingClipboardAfterCmd(), and pasteFromOrderingClipboardBeforeCmd().
|
private |
Definition at line 170 of file class.ilAssQuestionHintsGUI.php.
References ILIAS\Repository\ctrl(), fetchHintIdsParameter(), ilAssQuestionHintList\getListByQuestionId(), and ILIAS\Repository\lng().
ilAssQuestionHintsGUI::confirmSyncCmd | ( | ) |
Definition at line 537 of file class.ilAssQuestionHintsGUI.php.
References showListCmd().
|
private |
Definition at line 298 of file class.ilAssQuestionHintsGUI.php.
References checkForExistingHintRelatingToCurrentQuestionAndRedirectOnFailure(), checkForSingleHintIdAndRedirectOnFailure(), ILIAS\Repository\ctrl(), fetchHintIdsParameter(), and isEditingEnabled().
ilAssQuestionHintsGUI::executeCommand | ( | ) |
Definition at line 82 of file class.ilAssQuestionHintsGUI.php.
References $DIC, ILIAS\Repository\ctrl(), ilObjStyleSheet\getContentStylePath(), isEditingEnabled(), ILIAS\Repository\lng(), ilAssQuestionHintPageObjectCommandForwarder\PRESENTATION_MODE_AUTHOR, ilAssQuestionHintPageObjectCommandForwarder\PRESENTATION_MODE_PREVIEW, and ILIAS\Repository\tabs().
|
private |
Definition at line 520 of file class.ilAssQuestionHintsGUI.php.
Referenced by confirmDeleteCmd(), cutToOrderingClipboardCmd(), pasteFromOrderingClipboardAfterCmd(), pasteFromOrderingClipboardBeforeCmd(), and performDeleteCmd().
|
private |
Definition at line 530 of file class.ilAssQuestionHintsGUI.php.
Referenced by saveListOrderCmd().
ilAssQuestionHintsGUI::getHintPresentationLinkTarget | ( | int | $hint_id, |
bool | $xml_style = true |
||
) |
Definition at line 549 of file class.ilAssQuestionHintsGUI.php.
References ILIAS\Repository\ctrl().
|
private |
Definition at line 485 of file class.ilAssQuestionHintsGUI.php.
Referenced by showListCmd().
|
private |
inits the notification telling the user, that a hint is stored to hint ordering clipboard
private ilLanguage $lng
Definition at line 451 of file class.ilAssQuestionHintsGUI.php.
References $DIC, ilAssQuestionHintAbstractGUI\$lng, ilAssQuestionHint\getInstanceById(), and ilLanguage\txt().
Referenced by showListCmd().
ilAssQuestionHintsGUI::isEditingEnabled | ( | ) |
Definition at line 72 of file class.ilAssQuestionHintsGUI.php.
References $editingEnabled.
Referenced by cutToOrderingClipboardCmd(), executeCommand(), pasteFromOrderingClipboardAfterCmd(), pasteFromOrderingClipboardBeforeCmd(), performDeleteCmd(), saveListOrderCmd(), and showListCmd().
|
private |
pastes a hint from ordering clipboard after the selected one
private ilCtrl $ilCtrl ilLanguage $lng
Definition at line 372 of file class.ilAssQuestionHintsGUI.php.
References $DIC, ilAssQuestionHintAbstractGUI\$lng, ilAssQuestionHintList\addHint(), checkForExistingHintRelatingToCurrentQuestionAndRedirectOnFailure(), checkForSingleHintIdAndRedirectOnFailure(), fetchHintIdsParameter(), ilAssQuestionHint\getInstanceById(), ilAssQuestionHintList\getListByQuestionId(), isEditingEnabled(), and ilLanguage\txt().
|
private |
Definition at line 316 of file class.ilAssQuestionHintsGUI.php.
References checkForExistingHintRelatingToCurrentQuestionAndRedirectOnFailure(), checkForSingleHintIdAndRedirectOnFailure(), ILIAS\Repository\ctrl(), fetchHintIdsParameter(), ilAssQuestionHint\getInstanceById(), ilAssQuestionHintList\getListByQuestionId(), isEditingEnabled(), and ILIAS\Repository\lng().
|
private |
Definition at line 207 of file class.ilAssQuestionHintsGUI.php.
References CMD_CONFIRM_SYNC, ILIAS\Repository\ctrl(), fetchHintIdsParameter(), ilAssQuestionHintList\getListByQuestionId(), isEditingEnabled(), and ILIAS\Repository\lng().
|
private |
resets the ordering clipboard
private ilCtrl $ilCtrl ilLanguage $lng
Definition at line 432 of file class.ilAssQuestionHintsGUI.php.
References $DIC, ilAssQuestionHintAbstractGUI\$lng, and ilLanguage\txt().
|
private |
Definition at line 248 of file class.ilAssQuestionHintsGUI.php.
References CMD_CONFIRM_SYNC, ILIAS\Repository\ctrl(), fetchHintIndexesParameter(), ilAssQuestionHintList\getListByQuestionId(), isEditingEnabled(), and ILIAS\Repository\lng().
ilAssQuestionHintsGUI::setEditingEnabled | ( | bool | $editingEnabled | ) |
Definition at line 77 of file class.ilAssQuestionHintsGUI.php.
References $editingEnabled.
|
private |
Definition at line 562 of file class.ilAssQuestionHintsGUI.php.
References ILIAS\Repository\ctrl(), ilAssQuestionHint\getInstanceById(), ILIAS\Repository\int(), ILIAS\Repository\lng(), ilLegacyFormElementsUtil\prepareTextareaOutput(), and ILIAS\Repository\tabs().
|
private |
Definition at line 130 of file class.ilAssQuestionHintsGUI.php.
References ilAssQuestionHintGUI\CMD_SHOW_FORM, ILIAS\Repository\ctrl(), ilAssQuestionHintList\getListByQuestionId(), getQuestionHintListWithoutHintStoredInOrderingClipboard(), initHintOrderingClipboardNotification(), isEditingEnabled(), ILIAS\Repository\lng(), ilAssQuestionHintsTableGUI\TBL_MODE_ADMINISTRATION, and ilAssQuestionHintsTableGUI\TBL_MODE_TESTOUTPUT.
Referenced by confirmSyncCmd(), and syncCmd().
ilAssQuestionHintsGUI::syncCmd | ( | ) |
Definition at line 543 of file class.ilAssQuestionHintsGUI.php.
References showListCmd().
|
protected |
Definition at line 55 of file class.ilAssQuestionHintsGUI.php.
Referenced by isEditingEnabled(), and setEditingEnabled().
|
private |
Definition at line 53 of file class.ilAssQuestionHintsGUI.php.
|
private |
Definition at line 56 of file class.ilAssQuestionHintsGUI.php.
|
private |
Definition at line 54 of file class.ilAssQuestionHintsGUI.php.
const ilAssQuestionHintsGUI::CMD_CONFIRM_DELETE = 'confirmDelete' |
Definition at line 43 of file class.ilAssQuestionHintsGUI.php.
Referenced by ilAssQuestionHintsTableGUI\fillRow(), and ilAssQuestionHintsTableGUI\initAdministrationCommands().
const ilAssQuestionHintsGUI::CMD_CONFIRM_SYNC = 'confirmSync' |
Definition at line 50 of file class.ilAssQuestionHintsGUI.php.
Referenced by performDeleteCmd(), ilAssQuestionHintGUI\saveFormCmd(), and saveListOrderCmd().
const ilAssQuestionHintsGUI::CMD_CUT_TO_ORDERING_CLIPBOARD = 'cutToOrderingClipboard' |
Definition at line 46 of file class.ilAssQuestionHintsGUI.php.
Referenced by ilAssQuestionHintsTableGUI\initAdministrationCommands().
const ilAssQuestionHintsGUI::CMD_PASTE_FROM_ORDERING_CLIPBOARD_AFTER = 'pasteFromOrderingClipboardAfter' |
Definition at line 48 of file class.ilAssQuestionHintsGUI.php.
Referenced by ilAssQuestionHintsTableGUI\initAdministrationCommands().
const ilAssQuestionHintsGUI::CMD_PASTE_FROM_ORDERING_CLIPBOARD_BEFORE = 'pasteFromOrderingClipboardBefore' |
Definition at line 47 of file class.ilAssQuestionHintsGUI.php.
Referenced by ilAssQuestionHintsTableGUI\initAdministrationCommands().
const ilAssQuestionHintsGUI::CMD_PERFORM_DELETE = 'performDelete' |
Definition at line 44 of file class.ilAssQuestionHintsGUI.php.
const ilAssQuestionHintsGUI::CMD_RESET_ORDERING_CLIPBOARD = 'resetOrderingClipboard' |
Definition at line 49 of file class.ilAssQuestionHintsGUI.php.
const ilAssQuestionHintsGUI::CMD_SAVE_LIST_ORDER = 'saveListOrder' |
Definition at line 45 of file class.ilAssQuestionHintsGUI.php.
Referenced by ilAssQuestionHintsTableGUI\initAdministrationCommands().
const ilAssQuestionHintsGUI::CMD_SHOW_HINT = 'showHint' |
Definition at line 42 of file class.ilAssQuestionHintsGUI.php.
const ilAssQuestionHintsGUI::CMD_SHOW_LIST = 'showList' |
command constants
Definition at line 41 of file class.ilAssQuestionHintsGUI.php.
Referenced by ilAssQuestionHintPageObjectCommandForwarder\__construct(), assQuestionGUI\addTab_QuestionHints(), ilAssQuestionHintPageObjectCommandForwarder\buildAuthorPresentationPageObjectGUI(), ilAssQuestionHintPageObjectCommandForwarder\buildPreviewPresentationPageObjectGUI(), ilQuestionBrowserTableGUI\fillRow(), ILIAS\Test\Questions\Presentation\QuestionsTableActions\handleCommand(), ilAssQuestionHintGUI\saveFormCmd(), ilAssQuestionHintGUI\showFormCmd(), and assQuestionGUI\showHints().
const ilAssQuestionHintsGUI::CMD_SYNC = 'sync' |
Definition at line 51 of file class.ilAssQuestionHintsGUI.php.