ILIAS
release_8 Revision v8.19
|
Public Member Functions | |
__construct (ilDBInterface $db, ilAccessHandler $access, ilCtrl $ctrl, ilLanguage $lng, ilComponentRepository $component_repository) | |
getGlobalToolbar () | |
setGlobalToolbar (ilToolbarGUI $globalToolbar) | |
getTestOBJ () | |
setTestOBJ (ilObjTest $testOBJ) | |
getTestQuestionSetConfig () | |
setTestQuestionSetConfig (ilTestQuestionSetConfig $testQuestionSetConfig) | |
getTestPlayerGUI () | |
setTestPlayerGUI (ilTestPlayerAbstractGUI $testPlayerGUI) | |
getTestSession () | |
setTestSession (ilTestSession $testSession) | |
getTestSequence () | |
setTestSequence ($testSequence) | |
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="") | |
addButtonInstance (ilButtonBase $a_button) | |
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 | |
ILIAS DI Container | $DIC |
ilDBInterface | $db |
ilAccessHandler | $access |
ilCtrl | $ctrl |
ilComponentRepository | $component_repository |
ilObjTest | $testOBJ = null |
ilTestQuestionSetConfig | $testQuestionSetConfig = null |
ilTestPlayerAbstractGUI | $testPlayerGUI = 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 | |
getClassName ($target) | |
getClassNameArray ($target) | |
getClassPath ($target) | |
setParameter ($target, $parameter, $value) | |
buildLinkTarget ($target, $cmd=null) | |
buildFormAction ($target) | |
ensureInitialisedSessionLockString () | |
buildSessionLockString () | |
areSkillLevelThresholdsMissing () | |
getSkillLevelThresholdsMissingInfo () | |
hasFixedQuestionSetSkillAssignsLowerThanBarrier () | |
getSkillAssignBarrierInfo () | |
Private Attributes | |
ilToolbarGUI | $globalToolbar = null |
ilGlobalTemplateInterface | $main_tpl |
$sessionLockString | |
array | $infoMessages = array() |
array | $failureMessages = array() |
Static Private Attributes | |
static array | $TARGET_CLASS_PATH_BASE = array('ilRepositoryGUI', 'ilObjTestGUI') |
Additional Inherited Members | |
![]() | |
array | $items = array() |
![]() | |
static int | $instances = 0 |
Definition at line 25 of file class.ilTestInfoScreenToolbarGUI.php.
ilTestInfoScreenToolbarGUI::__construct | ( | ilDBInterface | $db, |
ilAccessHandler | $access, | ||
ilCtrl | $ctrl, | ||
ilLanguage | $lng, | ||
ilComponentRepository | $component_repository | ||
) |
Definition at line 55 of file class.ilTestInfoScreenToolbarGUI.php.
References $access, $component_repository, $ctrl, $db, $DIC, ilToolbarGUI\$lng, ILIAS\Repository\access(), ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
ilTestInfoScreenToolbarGUI::addButtonInstance | ( | ilButtonBase | $a_button | ) |
Definition at line 183 of file class.ilTestInfoScreenToolbarGUI.php.
Referenced by build().
ilTestInfoScreenToolbarGUI::addFailureMessage | ( | string | $failureMessage | ) |
Definition at line 166 of file class.ilTestInfoScreenToolbarGUI.php.
Referenced by build().
ilTestInfoScreenToolbarGUI::addFormInput | ( | $formInput | ) |
Definition at line 212 of file class.ilTestInfoScreenToolbarGUI.php.
ilTestInfoScreenToolbarGUI::addInfoMessage | ( | $infoMessage | ) |
@ param string $infoMessage Could be.
Doesn't have to.
Definition at line 156 of file class.ilTestInfoScreenToolbarGUI.php.
Referenced by build().
ilTestInfoScreenToolbarGUI::addInputItem | ( | ilToolbarItem | $a_item, |
bool | $a_output_label = false |
||
) |
Definition at line 201 of file class.ilTestInfoScreenToolbarGUI.php.
Referenced by build().
|
private |
Definition at line 278 of file class.ilTestInfoScreenToolbarGUI.php.
References $data, and getTestOBJ().
Referenced by build().
ilTestInfoScreenToolbarGUI::build | ( | ) |
Definition at line 353 of file class.ilTestInfoScreenToolbarGUI.php.
References $message, ilObjTestAccess\_lookupOnlineTestAccess(), ILIAS\Repository\access(), addButtonInstance(), addFailureMessage(), addInfoMessage(), addInputItem(), ilToolbarGUI\addSeparator(), ANONYMOUS_USER_ID, areSkillLevelThresholdsMissing(), buildFormAction(), buildLinkTarget(), clearItems(), ensureInitialisedSessionLockString(), ilToolbarGUI\getId(), ilSubmitButton\getInstance(), ilToolbarGUI\getItems(), getSessionLockString(), getSkillAssignBarrierInfo(), getSkillLevelThresholdsMissingInfo(), getTestOBJ(), getTestPlayerGUI(), getTestQuestionSetConfig(), getTestSession(), hasFixedQuestionSetSkillAssignsLowerThanBarrier(), ILIAS\Repository\lng(), populateMessage(), setFormAction(), and setParameter().
|
private |
Definition at line 261 of file class.ilTestInfoScreenToolbarGUI.php.
References ILIAS\Repository\ctrl(), and getClassPath().
Referenced by build().
|
private |
Definition at line 256 of file class.ilTestInfoScreenToolbarGUI.php.
References ILIAS\Repository\ctrl(), and getClassPath().
Referenced by build(), and getSkillLevelThresholdsMissingInfo().
|
private |
Definition at line 273 of file class.ilTestInfoScreenToolbarGUI.php.
References $_COOKIE.
Referenced by ensureInitialisedSessionLockString().
ilTestInfoScreenToolbarGUI::clearItems | ( | ) |
Definition at line 219 of file class.ilTestInfoScreenToolbarGUI.php.
References ilToolbarGUI\setItems().
Referenced by build().
|
private |
Definition at line 266 of file class.ilTestInfoScreenToolbarGUI.php.
References buildSessionLockString(), getSessionLockString(), and setSessionLockString().
Referenced by build().
|
private |
Definition at line 228 of file class.ilTestInfoScreenToolbarGUI.php.
Referenced by getClassNameArray(), and setParameter().
|
private |
Definition at line 237 of file class.ilTestInfoScreenToolbarGUI.php.
References getClassName().
Referenced by getClassPath().
|
private |
Definition at line 246 of file class.ilTestInfoScreenToolbarGUI.php.
References getClassNameArray().
Referenced by buildFormAction(), and buildLinkTarget().
ilTestInfoScreenToolbarGUI::getFailureMessages | ( | ) |
Definition at line 161 of file class.ilTestInfoScreenToolbarGUI.php.
References $failureMessages.
Referenced by sendMessages().
ilTestInfoScreenToolbarGUI::getGlobalToolbar | ( | ) |
Definition at line 72 of file class.ilTestInfoScreenToolbarGUI.php.
References $globalToolbar.
ilTestInfoScreenToolbarGUI::getInfoMessages | ( | ) |
Definition at line 148 of file class.ilTestInfoScreenToolbarGUI.php.
References $infoMessages.
Referenced by sendMessages().
ilTestInfoScreenToolbarGUI::getSessionLockString | ( | ) |
Definition at line 138 of file class.ilTestInfoScreenToolbarGUI.php.
References $sessionLockString.
Referenced by build(), and ensureInitialisedSessionLockString().
|
private |
Definition at line 343 of file class.ilTestInfoScreenToolbarGUI.php.
References ilObjAssessmentFolder\getSkillTriggerAnswerNumberBarrier(), and ILIAS\Repository\lng().
Referenced by build().
|
private |
Definition at line 310 of file class.ilTestInfoScreenToolbarGUI.php.
References $message, buildLinkTarget(), ilTestSkillLevelThresholdsGUI\CMD_SHOW_SKILL_THRESHOLDS, and ILIAS\Repository\lng().
Referenced by build().
ilTestInfoScreenToolbarGUI::getTestOBJ | ( | ) |
Definition at line 82 of file class.ilTestInfoScreenToolbarGUI.php.
References $testOBJ.
Referenced by areSkillLevelThresholdsMissing(), and build().
ilTestInfoScreenToolbarGUI::getTestPlayerGUI | ( | ) |
Definition at line 102 of file class.ilTestInfoScreenToolbarGUI.php.
References $testPlayerGUI.
Referenced by build().
ilTestInfoScreenToolbarGUI::getTestQuestionSetConfig | ( | ) |
Definition at line 92 of file class.ilTestInfoScreenToolbarGUI.php.
References $testQuestionSetConfig.
Referenced by build().
ilTestInfoScreenToolbarGUI::getTestSequence | ( | ) |
Definition at line 125 of file class.ilTestInfoScreenToolbarGUI.php.
References $testSequence.
ilTestInfoScreenToolbarGUI::getTestSession | ( | ) |
Definition at line 112 of file class.ilTestInfoScreenToolbarGUI.php.
References $testSession.
Referenced by build().
|
private |
Definition at line 329 of file class.ilTestInfoScreenToolbarGUI.php.
Referenced by build().
|
protected |
Definition at line 504 of file class.ilTestInfoScreenToolbarGUI.php.
References $message.
Referenced by build().
ilTestInfoScreenToolbarGUI::sendMessages | ( | ) |
Definition at line 511 of file class.ilTestInfoScreenToolbarGUI.php.
References getFailureMessages(), and getInfoMessages().
ilTestInfoScreenToolbarGUI::setCloseFormTag | ( | bool | $a_val | ) |
Definition at line 192 of file class.ilTestInfoScreenToolbarGUI.php.
ilTestInfoScreenToolbarGUI::setFormAction | ( | string | $a_val, |
bool | $a_multipart = false , |
||
string | $a_target = "" |
||
) |
Definition at line 171 of file class.ilTestInfoScreenToolbarGUI.php.
Referenced by build().
ilTestInfoScreenToolbarGUI::setGlobalToolbar | ( | ilToolbarGUI | $globalToolbar | ) |
Definition at line 77 of file class.ilTestInfoScreenToolbarGUI.php.
References $globalToolbar.
|
private |
Definition at line 251 of file class.ilTestInfoScreenToolbarGUI.php.
References ILIAS\Repository\ctrl(), and getClassName().
Referenced by build().
ilTestInfoScreenToolbarGUI::setSessionLockString | ( | $sessionLockString | ) |
Definition at line 143 of file class.ilTestInfoScreenToolbarGUI.php.
References $sessionLockString.
Referenced by ensureInitialisedSessionLockString().
ilTestInfoScreenToolbarGUI::setTestOBJ | ( | ilObjTest | $testOBJ | ) |
Definition at line 87 of file class.ilTestInfoScreenToolbarGUI.php.
References $testOBJ.
ilTestInfoScreenToolbarGUI::setTestPlayerGUI | ( | ilTestPlayerAbstractGUI | $testPlayerGUI | ) |
Definition at line 107 of file class.ilTestInfoScreenToolbarGUI.php.
References $testPlayerGUI.
ilTestInfoScreenToolbarGUI::setTestQuestionSetConfig | ( | ilTestQuestionSetConfig | $testQuestionSetConfig | ) |
Definition at line 97 of file class.ilTestInfoScreenToolbarGUI.php.
References $testQuestionSetConfig.
ilTestInfoScreenToolbarGUI::setTestSequence | ( | $testSequence | ) |
ilTestSequence | ilTestSequenceDynamicQuestionSet | $testSequence |
Definition at line 133 of file class.ilTestInfoScreenToolbarGUI.php.
References $testSequence.
ilTestInfoScreenToolbarGUI::setTestSession | ( | ilTestSession | $testSession | ) |
Definition at line 117 of file class.ilTestInfoScreenToolbarGUI.php.
References $testSession.
|
protected |
Definition at line 33 of file class.ilTestInfoScreenToolbarGUI.php.
Referenced by __construct().
|
protected |
Definition at line 35 of file class.ilTestInfoScreenToolbarGUI.php.
Referenced by __construct().
|
protected |
Definition at line 34 of file class.ilTestInfoScreenToolbarGUI.php.
Referenced by __construct().
|
protected |
Definition at line 32 of file class.ilTestInfoScreenToolbarGUI.php.
Referenced by __construct().
|
protected |
Definition at line 29 of file class.ilTestInfoScreenToolbarGUI.php.
Referenced by __construct().
|
private |
Definition at line 53 of file class.ilTestInfoScreenToolbarGUI.php.
Referenced by getFailureMessages().
|
private |
Definition at line 30 of file class.ilTestInfoScreenToolbarGUI.php.
Referenced by getGlobalToolbar(), and setGlobalToolbar().
|
private |
Definition at line 52 of file class.ilTestInfoScreenToolbarGUI.php.
Referenced by getInfoMessages().
|
private |
Definition at line 36 of file class.ilTestInfoScreenToolbarGUI.php.
|
private |
Definition at line 51 of file class.ilTestInfoScreenToolbarGUI.php.
Referenced by getSessionLockString(), and setSessionLockString().
|
staticprivate |
Definition at line 27 of file class.ilTestInfoScreenToolbarGUI.php.
|
protected |
Definition at line 38 of file class.ilTestInfoScreenToolbarGUI.php.
Referenced by getTestOBJ(), and setTestOBJ().
|
protected |
Definition at line 40 of file class.ilTestInfoScreenToolbarGUI.php.
Referenced by getTestPlayerGUI(), and setTestPlayerGUI().
|
protected |
Definition at line 39 of file class.ilTestInfoScreenToolbarGUI.php.
Referenced by getTestQuestionSetConfig(), and setTestQuestionSetConfig().
|
protected |
Definition at line 46 of file class.ilTestInfoScreenToolbarGUI.php.
Referenced by getTestSequence(), and setTestSequence().
|
protected |
Definition at line 41 of file class.ilTestInfoScreenToolbarGUI.php.
Referenced by getTestSession(), and setTestSession().