ILIAS
trunk Revision v11.0_alpha-1744-gb0451eebef4
|
Public Member Functions | |
__construct (private ilObjTest $test_obj, private ilTestPlayerAbstractGUI $test_player_gui, private ilTestQuestionSetConfig $test_question_set_config, private ilTestSession $test_session, private ilDBInterface $db, private ilAccessHandler $access, private ilCtrlInterface $ctrl, protected ilLanguage $lng, private UIFactory $ui_factory, private UIRenderer $ui_renderer, private ilGlobalTemplateInterface $main_tpl, private ilToolbarGUI $global_toolbar) | |
getSessionLockString () | |
setSessionLockString ($sessionLockString) | |
getInfoMessages () | |
addInfoMessage ($infoMessage) | |
@ param string $infoMessage Could be. More... | |
getFailureMessages () | |
addFailureMessage (string $failureMessage) | |
setFormAction (string $a_val, bool $a_multipart=false, string $a_target="") | |
setCloseFormTag (bool $a_val) | |
addInputItem (ilToolbarItem $a_item, bool $a_output_label=false) | |
addFormInput ($formInput) | |
clearItems () | |
build () | |
sendMessages () | |
![]() | |
setFormAction (string $a_val, bool $a_multipart=false, string $a_target="") | |
Set form action (if form action is set, toolbar is wrapped into form tags) More... | |
getFormAction () | |
setLeadingImage (string $a_img, string $a_alt) | |
setHidden (bool $a_val) | |
getHidden () | |
setId (string $a_val) | |
getId () | |
setPreventDoubleSubmission (bool $a_val) | |
getPreventDoubleSubmission () | |
addButton (string $a_txt, string $a_cmd, string $a_target="", ?int $a_acc_key=null, string $a_additional_attrs='', string $a_id="", string $a_class='submit') | |
addFormButton (string $a_txt, string $a_cmd, ?int $a_acc_key=null, bool $a_primary=false, ?string $a_class=null) | |
addInputItem (ilToolbarItem $a_item, bool $a_output_label=false) | |
addStickyItem ( $a_item, bool $a_output_label=false) | |
Add a sticky item. More... | |
addButtonInstance (ilButtonBase $a_button) | |
Add button instance. More... | |
addDropDown (string $a_txt, string $a_dd_html) | |
addAdvancedSelectionList (ilAdvancedSelectionListGUI $adv) | |
addSeparator () | |
addText (string $a_text) | |
addSpacer (?string $a_width=null) | |
addComponent (\ILIAS\UI\Component\Component $a_comp) | |
addLink (string $a_caption, string $a_url, bool $a_disabled=false) | |
setOpenFormTag (bool $a_val) | |
getOpenFormTag () | |
setCloseFormTag (bool $a_val) | |
getCloseFormTag () | |
setFormName (string $a_val) | |
getFormName () | |
getGroupedItems () | |
Get all groups (items separated by a separator) More... | |
getItems () | |
setItems (array $items) | |
Protected Member Functions | |
populateMessage ($message) | |
![]() | |
applyAutoStickyToSingleElement () | |
If the toolbar consists of only one button, make it sticky Note: Atm this is only possible for buttons. More... | |
Protected Attributes | |
ilTestQuestionSetConfig | $testQuestionSetConfig = null |
ilTestSession | $testSession = null |
$testSequence | |
![]() | |
ilLanguage | $lng |
string | $id = '' |
string | $form_action = '' |
bool | $hidden = false |
array | $lead_img |
bool | $open_form_tag = true |
bool | $close_form_tag = true |
string | $form_target = "" |
string | $form_name = "" |
bool | $prevent_double_submission = false |
array | $sticky_items = array() |
bool | $has_separator = false |
ILIAS DI UIServices | $ui |
bool | $multipart = false |
Private Member Functions | |
getTestQuestionSetConfig () | |
getTestOBJ () | |
getTestPlayerGUI () | |
getTestSession () | |
getClassName ($target) | |
getClassNameArray ($target) | |
getClassPath ($target) | |
setParameter ($target, $parameter, $value) | |
buildLinkTarget ($target, $cmd=null) | |
buildFormAction ($target) | |
ensureInitialisedSessionLockString () | |
buildSessionLockString () | |
hasFixedQuestionSetSkillAssignsLowerThanBarrier () | |
getSkillAssignBarrierInfo () | |
Private Attributes | |
string | $sessionLockString = '' |
array | $infoMessages = [] |
array | $failureMessages = [] |
Static Private Attributes | |
static array | $TARGET_CLASS_PATH_BASE = ['ilRepositoryGUI', 'ilObjTestGUI'] |
Additional Inherited Members | |
![]() | |
array | $items = array() |
![]() | |
static int | $instances = 0 |
Definition at line 32 of file class.ilTestInfoScreenToolbarGUI.php.
ilTestInfoScreenToolbarGUI::__construct | ( | private ilObjTest | $test_obj, |
private ilTestPlayerAbstractGUI | $test_player_gui, | ||
private ilTestQuestionSetConfig | $test_question_set_config, | ||
private ilTestSession | $test_session, | ||
private ilDBInterface | $db, | ||
private ilAccessHandler | $access, | ||
private ilCtrlInterface | $ctrl, | ||
protected ilLanguage | $lng, | ||
private UIFactory | $ui_factory, | ||
private UIRenderer | $ui_renderer, | ||
private ilGlobalTemplateInterface | $main_tpl, | ||
private ilToolbarGUI | $global_toolbar | ||
) |
Definition at line 48 of file class.ilTestInfoScreenToolbarGUI.php.
ilTestInfoScreenToolbarGUI::addFailureMessage | ( | string | $failureMessage | ) |
Definition at line 112 of file class.ilTestInfoScreenToolbarGUI.php.
ilTestInfoScreenToolbarGUI::addFormInput | ( | $formInput | ) |
Definition at line 149 of file class.ilTestInfoScreenToolbarGUI.php.
ilTestInfoScreenToolbarGUI::addInfoMessage | ( | $infoMessage | ) |
@ param string $infoMessage Could be.
Doesn't have to.
Definition at line 102 of file class.ilTestInfoScreenToolbarGUI.php.
Referenced by build().
ilTestInfoScreenToolbarGUI::addInputItem | ( | ilToolbarItem | $a_item, |
bool | $a_output_label = false |
||
) |
Definition at line 138 of file class.ilTestInfoScreenToolbarGUI.php.
ilTestInfoScreenToolbarGUI::build | ( | ) |
Definition at line 236 of file class.ilTestInfoScreenToolbarGUI.php.
References $message, ILIAS\Repository\access(), addInfoMessage(), buildFormAction(), buildLinkTarget(), ILIAS\Repository\ctrl(), ensureInitialisedSessionLockString(), ilAssQuestionSkillAssignmentImportFails\failedImportsRegistered(), ilAssQuestionSkillAssignmentImportFails\getFailedImportsMessage(), ilTestSkillLevelThresholdImportFails\getFailedImportsMessage(), getSessionLockString(), getSkillAssignBarrierInfo(), getTestOBJ(), getTestPlayerGUI(), getTestSession(), hasFixedQuestionSetSkillAssignsLowerThanBarrier(), ILIAS\Repository\lng(), populateMessage(), setFormAction(), and setParameter().
|
private |
Definition at line 198 of file class.ilTestInfoScreenToolbarGUI.php.
References ILIAS\Repository\ctrl(), and getClassPath().
Referenced by build().
|
private |
Definition at line 193 of file class.ilTestInfoScreenToolbarGUI.php.
References ILIAS\Repository\ctrl(), and getClassPath().
Referenced by build().
|
private |
Definition at line 210 of file class.ilTestInfoScreenToolbarGUI.php.
References $_COOKIE.
Referenced by ensureInitialisedSessionLockString().
ilTestInfoScreenToolbarGUI::clearItems | ( | ) |
Definition at line 156 of file class.ilTestInfoScreenToolbarGUI.php.
References ilToolbarGUI\setItems().
|
private |
Definition at line 203 of file class.ilTestInfoScreenToolbarGUI.php.
References buildSessionLockString(), getSessionLockString(), and setSessionLockString().
Referenced by build().
|
private |
Definition at line 165 of file class.ilTestInfoScreenToolbarGUI.php.
Referenced by getClassNameArray(), and setParameter().
|
private |
Definition at line 174 of file class.ilTestInfoScreenToolbarGUI.php.
References getClassName().
Referenced by getClassPath().
|
private |
Definition at line 183 of file class.ilTestInfoScreenToolbarGUI.php.
References getClassNameArray().
Referenced by buildFormAction(), and buildLinkTarget().
ilTestInfoScreenToolbarGUI::getFailureMessages | ( | ) |
Definition at line 107 of file class.ilTestInfoScreenToolbarGUI.php.
References $failureMessages.
Referenced by sendMessages().
ilTestInfoScreenToolbarGUI::getInfoMessages | ( | ) |
Definition at line 94 of file class.ilTestInfoScreenToolbarGUI.php.
References $infoMessages.
Referenced by sendMessages().
ilTestInfoScreenToolbarGUI::getSessionLockString | ( | ) |
Definition at line 84 of file class.ilTestInfoScreenToolbarGUI.php.
References $sessionLockString.
Referenced by build(), and ensureInitialisedSessionLockString().
|
private |
Definition at line 228 of file class.ilTestInfoScreenToolbarGUI.php.
References getTestOBJ(), and ILIAS\Repository\lng().
Referenced by build().
|
private |
Definition at line 69 of file class.ilTestInfoScreenToolbarGUI.php.
Referenced by build(), and getSkillAssignBarrierInfo().
|
private |
Definition at line 74 of file class.ilTestInfoScreenToolbarGUI.php.
Referenced by build().
|
private |
Definition at line 64 of file class.ilTestInfoScreenToolbarGUI.php.
|
private |
Definition at line 79 of file class.ilTestInfoScreenToolbarGUI.php.
Referenced by build().
|
private |
Definition at line 215 of file class.ilTestInfoScreenToolbarGUI.php.
Referenced by build().
|
protected |
Definition at line 295 of file class.ilTestInfoScreenToolbarGUI.php.
References $message.
Referenced by build().
ilTestInfoScreenToolbarGUI::sendMessages | ( | ) |
Definition at line 302 of file class.ilTestInfoScreenToolbarGUI.php.
References getFailureMessages(), and getInfoMessages().
ilTestInfoScreenToolbarGUI::setCloseFormTag | ( | bool | $a_val | ) |
Definition at line 129 of file class.ilTestInfoScreenToolbarGUI.php.
ilTestInfoScreenToolbarGUI::setFormAction | ( | string | $a_val, |
bool | $a_multipart = false , |
||
string | $a_target = "" |
||
) |
Definition at line 117 of file class.ilTestInfoScreenToolbarGUI.php.
Referenced by build().
|
private |
Definition at line 188 of file class.ilTestInfoScreenToolbarGUI.php.
References ILIAS\Repository\ctrl(), and getClassName().
Referenced by build().
ilTestInfoScreenToolbarGUI::setSessionLockString | ( | $sessionLockString | ) |
Definition at line 89 of file class.ilTestInfoScreenToolbarGUI.php.
References $sessionLockString.
Referenced by ensureInitialisedSessionLockString().
|
private |
Definition at line 46 of file class.ilTestInfoScreenToolbarGUI.php.
Referenced by getFailureMessages().
|
private |
Definition at line 45 of file class.ilTestInfoScreenToolbarGUI.php.
Referenced by getInfoMessages().
|
private |
Definition at line 44 of file class.ilTestInfoScreenToolbarGUI.php.
Referenced by getSessionLockString(), and setSessionLockString().
|
staticprivate |
Definition at line 34 of file class.ilTestInfoScreenToolbarGUI.php.
|
protected |
Definition at line 36 of file class.ilTestInfoScreenToolbarGUI.php.
|
protected |
Definition at line 42 of file class.ilTestInfoScreenToolbarGUI.php.
|
protected |
Definition at line 37 of file class.ilTestInfoScreenToolbarGUI.php.