| 
    ILIAS
    release_10 Revision v10.1-43-ga1241a92c2f
    
   | 
  
 Inheritance diagram for ilAssQuestionHintsGUI:
 Collaboration diagram for ilAssQuestionHintsGUI:Public Member Functions | |
| __construct (assQuestionGUI $questionGUI) | |
| isEditingEnabled () | |
| setEditingEnabled (bool $editingEnabled) | |
| executeCommand () | |
| confirmSyncCmd () | |
| syncCmd () | |
| getHintPresentationLinkTarget (int $hint_id, bool $xml_style=true) | |
  Public Member Functions inherited from ilAssQuestionHintAbstractGUI | |
| __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 | 
  Protected Attributes inherited from ilAssQuestionHintAbstractGUI | |
| 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().
 Here is the call graph for this function:
      
  | 
  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().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 499 of file class.ilAssQuestionHintsGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Referenced by cutToOrderingClipboardCmd(), pasteFromOrderingClipboardAfterCmd(), and pasteFromOrderingClipboardBeforeCmd().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 170 of file class.ilAssQuestionHintsGUI.php.
References ILIAS\Repository\ctrl(), fetchHintIdsParameter(), ilAssQuestionHintList\getListByQuestionId(), and ILIAS\Repository\lng().
 Here is the call graph for this function:| ilAssQuestionHintsGUI::confirmSyncCmd | ( | ) | 
Definition at line 537 of file class.ilAssQuestionHintsGUI.php.
References showListCmd().
 Here is the call graph for this function:
      
  | 
  private | 
Definition at line 298 of file class.ilAssQuestionHintsGUI.php.
References checkForExistingHintRelatingToCurrentQuestionAndRedirectOnFailure(), checkForSingleHintIdAndRedirectOnFailure(), ILIAS\Repository\ctrl(), fetchHintIdsParameter(), and isEditingEnabled().
 Here is the call graph for this function:| 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().
 Here is the call graph for this function:
      
  | 
  private | 
Definition at line 520 of file class.ilAssQuestionHintsGUI.php.
Referenced by confirmDeleteCmd(), cutToOrderingClipboardCmd(), pasteFromOrderingClipboardAfterCmd(), pasteFromOrderingClipboardBeforeCmd(), and performDeleteCmd().
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 530 of file class.ilAssQuestionHintsGUI.php.
Referenced by saveListOrderCmd().
 Here is the caller graph for this function:| ilAssQuestionHintsGUI::getHintPresentationLinkTarget | ( | int | $hint_id, | 
| bool | $xml_style = true  | 
        ||
| ) | 
Definition at line 549 of file class.ilAssQuestionHintsGUI.php.
References ILIAS\Repository\ctrl().
 Here is the call graph for this function:
      
  | 
  private | 
Definition at line 485 of file class.ilAssQuestionHintsGUI.php.
Referenced by showListCmd().
 Here is the caller graph for this function:
      
  | 
  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().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilAssQuestionHintsGUI::isEditingEnabled | ( | ) | 
Definition at line 72 of file class.ilAssQuestionHintsGUI.php.
References $editingEnabled.
Referenced by cutToOrderingClipboardCmd(), executeCommand(), pasteFromOrderingClipboardAfterCmd(), pasteFromOrderingClipboardBeforeCmd(), performDeleteCmd(), saveListOrderCmd(), and showListCmd().
 Here is the caller graph for this function:
      
  | 
  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().
 Here is the call graph for this function:
      
  | 
  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().
 Here is the call graph for this function:
      
  | 
  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().
 Here is the call graph for this function:
      
  | 
  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().
 Here is the call graph for this function:
      
  | 
  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().
 Here is the call graph for this function:| 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().
 Here is the call graph for this function:
      
  | 
  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().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilAssQuestionHintsGUI::syncCmd | ( | ) | 
Definition at line 543 of file class.ilAssQuestionHintsGUI.php.
References showListCmd().
 Here is the call graph for this function:
      
  | 
  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.