ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Public Member Functions | |
__construct (ilCtrl $ctrl, ilLanguage $lng, ilTestPlayerAbstractGUI $playerGUI) | |
isSuspendTestButtonEnabled () | |
setSuspendTestButtonEnabled ($suspendTestButtonEnabled) | |
isQuestionListButtonEnabled () | |
setQuestionListButtonEnabled ($questionListButtonEnabled) | |
isQuestionTreeButtonEnabled () | |
setQuestionTreeButtonEnabled ($questionTreeButtonEnabled) | |
isQuestionTreeVisible () | |
setQuestionTreeVisible ($questionTreeVisible) | |
isQuestionSelectionButtonEnabled () | |
setQuestionSelectionButtonEnabled ($questionSelectionButtonEnabled) | |
isFinishTestButtonEnabled () | |
setFinishTestButtonEnabled ($finishTestButtonEnabled) | |
getFinishTestCommand () | |
setFinishTestCommand ($finishTestCommand) | |
isFinishTestButtonPrimary () | |
setFinishTestButtonPrimary ($finishTestButtonPrimary) | |
isDisabledStateEnabled () | |
setDisabledStateEnabled ($disabledStateEnabled) | |
build () | |
Public Member Functions inherited from ilToolbarGUI | |
__construct () | |
setFormAction ($a_val, $a_multipart=false, $a_target="") | |
Set form action (if form action is set, toolbar is wrapped into form tags) More... | |
getFormAction () | |
Get form action. More... | |
setLeadingImage ($a_img, $a_alt) | |
Set leading image. More... | |
setHidden ($a_val) | |
Set hidden. More... | |
getHidden () | |
Get hidden. More... | |
setId ($a_val) | |
Set id. More... | |
getId () | |
Get id. More... | |
setPreventDoubleSubmission ($a_val) | |
Set prevent double submission. More... | |
getPreventDoubleSubmission () | |
Get prevent double submission. More... | |
addButton ($a_txt, $a_cmd, $a_target="", $a_acc_key="", $a_additional_attrs='', $a_id="", $a_class='submit') | |
Add button to toolbar. More... | |
addFormButton ($a_txt, $a_cmd, $a_acc_key="", $a_primary=false, $a_class=false) | |
Add form button to toolbar. More... | |
addInputItem (ilToolbarItem $a_item, $a_output_label=false) | |
Add input item. More... | |
addStickyItem (ilToolbarItem $a_item, $a_output_label=false) | |
Add a sticky item. More... | |
addButtonInstance (ilButtonBase $a_button) | |
Add button instance. More... | |
addDropDown ($a_txt, $a_dd_html) | |
Add input item. More... | |
addSeparator () | |
Add separator. More... | |
addText ($a_text) | |
Add text. More... | |
addSpacer ($a_width=null) | |
Add spacer. More... | |
addLink ($a_caption, $a_url, $a_disabled=false) | |
Add link. More... | |
setOpenFormTag ($a_val) | |
Set open form tag. More... | |
getOpenFormTag () | |
Get open form tag. More... | |
setCloseFormTag ($a_val) | |
Set close form tag. More... | |
getCloseFormTag () | |
Get close form tag. More... | |
setFormName ($a_val) | |
Set form name. More... | |
getFormName () | |
Get form name. More... | |
getGroupedItems () | |
Get all groups (items separated by a separator) More... | |
getItems () | |
setItems ($items) | |
Protected Attributes | |
$ctrl | |
$lng | |
$playerGUI | |
Protected Attributes inherited from ilToolbarGUI | |
$id = '' | |
$form_action = '' | |
$hidden | |
$lead_img | |
$open_form_tag = true | |
$close_form_tag = true | |
$form_target = "" | |
$form_name = "" | |
$prevent_double_submission = false | |
$sticky_items = array() | |
$has_separator = false | |
Private Member Functions | |
addSuspendTestButton () | |
addQuestionListButton () | |
addQuestionSelectionButton () | |
addQuestionTreeButton () | |
addFinishTestButton () | |
Private Attributes | |
$suspendTestButtonEnabled = false | |
$questionListButtonEnabled = false | |
$questionTreeButtonEnabled = false | |
$questionTreeVisible = false | |
$questionSelectionButtonEnabled = false | |
$finishTestButtonEnabled = false | |
$finishTestCommand = '' | |
$finishTestButtonPrimary = false | |
$disabledStateEnabled = false | |
Additional Inherited Members | |
Data Fields inherited from ilToolbarGUI | |
$items = array() | |
Protected Member Functions inherited from ilToolbarGUI | |
applyAutoStickyToSingleElement () | |
If the toolbar consists of only one button, make it sticky Note: Atm this is only possible for buttons. More... | |
Static Protected Attributes inherited from ilToolbarGUI | |
static | $instances = 0 |
Definition at line 13 of file class.ilTestNavigationToolbarGUI.php.
ilTestNavigationToolbarGUI::__construct | ( | ilCtrl | $ctrl, |
ilLanguage | $lng, | ||
ilTestPlayerAbstractGUI | $playerGUI | ||
) |
ilCtrl | $ctrl | |
ilLanguage | $lng | |
ilTestPlayerAbstractGUI | $playerGUI |
Definition at line 80 of file class.ilTestNavigationToolbarGUI.php.
References $ctrl, $lng, and $playerGUI.
|
private |
Definition at line 320 of file class.ilTestNavigationToolbarGUI.php.
References ilToolbarGUI\addButtonInstance(), getFinishTestCommand(), ilTestPlayerNavButton\getInstance(), and isFinishTestButtonPrimary().
Referenced by build().
|
private |
Definition at line 274 of file class.ilTestNavigationToolbarGUI.php.
References ilToolbarGUI\addButtonInstance(), ilTestPlayerNavButton\getInstance(), and ilTestPlayerCommands\QUESTION_SUMMARY.
Referenced by build().
|
private |
Definition at line 287 of file class.ilTestNavigationToolbarGUI.php.
References ilToolbarGUI\addButtonInstance(), ilTestPlayerNavButton\getInstance(), and ilTestPlayerCommands\SHOW_QUESTION_SELECTION.
Referenced by build().
|
private |
Definition at line 300 of file class.ilTestNavigationToolbarGUI.php.
References ilToolbarGUI\addButtonInstance(), ilTestPlayerNavButton\getInstance(), isQuestionTreeVisible(), and ilTestPlayerCommands\TOGGLE_SIDE_LIST.
Referenced by build().
|
private |
Definition at line 261 of file class.ilTestNavigationToolbarGUI.php.
References ilToolbarGUI\addButtonInstance(), ilTestPlayerNavButton\getInstance(), and ilTestPlayerCommands\SUSPEND_TEST.
Referenced by build().
ilTestNavigationToolbarGUI::build | ( | ) |
Definition at line 233 of file class.ilTestNavigationToolbarGUI.php.
References addFinishTestButton(), addQuestionListButton(), addQuestionSelectionButton(), addQuestionTreeButton(), addSuspendTestButton(), isFinishTestButtonEnabled(), isQuestionListButtonEnabled(), isQuestionSelectionButtonEnabled(), isQuestionTreeButtonEnabled(), and isSuspendTestButtonEnabled().
ilTestNavigationToolbarGUI::getFinishTestCommand | ( | ) |
Definition at line 188 of file class.ilTestNavigationToolbarGUI.php.
References $finishTestCommand.
Referenced by addFinishTestButton().
ilTestNavigationToolbarGUI::isDisabledStateEnabled | ( | ) |
Definition at line 220 of file class.ilTestNavigationToolbarGUI.php.
References $disabledStateEnabled.
ilTestNavigationToolbarGUI::isFinishTestButtonEnabled | ( | ) |
Definition at line 172 of file class.ilTestNavigationToolbarGUI.php.
References $finishTestButtonEnabled.
Referenced by build().
ilTestNavigationToolbarGUI::isFinishTestButtonPrimary | ( | ) |
Definition at line 204 of file class.ilTestNavigationToolbarGUI.php.
References $finishTestButtonPrimary.
Referenced by addFinishTestButton().
ilTestNavigationToolbarGUI::isQuestionListButtonEnabled | ( | ) |
Definition at line 108 of file class.ilTestNavigationToolbarGUI.php.
References $questionListButtonEnabled.
Referenced by build().
ilTestNavigationToolbarGUI::isQuestionSelectionButtonEnabled | ( | ) |
Definition at line 156 of file class.ilTestNavigationToolbarGUI.php.
References $questionSelectionButtonEnabled.
Referenced by build().
ilTestNavigationToolbarGUI::isQuestionTreeButtonEnabled | ( | ) |
Definition at line 124 of file class.ilTestNavigationToolbarGUI.php.
References $questionTreeButtonEnabled.
Referenced by build().
ilTestNavigationToolbarGUI::isQuestionTreeVisible | ( | ) |
Definition at line 140 of file class.ilTestNavigationToolbarGUI.php.
References $questionTreeVisible.
Referenced by addQuestionTreeButton().
ilTestNavigationToolbarGUI::isSuspendTestButtonEnabled | ( | ) |
Definition at line 92 of file class.ilTestNavigationToolbarGUI.php.
References $suspendTestButtonEnabled.
Referenced by build().
ilTestNavigationToolbarGUI::setDisabledStateEnabled | ( | $disabledStateEnabled | ) |
boolean | $disabledStateEnabled |
Definition at line 228 of file class.ilTestNavigationToolbarGUI.php.
References $disabledStateEnabled.
ilTestNavigationToolbarGUI::setFinishTestButtonEnabled | ( | $finishTestButtonEnabled | ) |
boolean | $finishTestButtonEnabled |
Definition at line 180 of file class.ilTestNavigationToolbarGUI.php.
References $finishTestButtonEnabled.
ilTestNavigationToolbarGUI::setFinishTestButtonPrimary | ( | $finishTestButtonPrimary | ) |
boolean | $finishTestButtonPrimary |
Definition at line 212 of file class.ilTestNavigationToolbarGUI.php.
References $finishTestButtonPrimary.
Referenced by ilTestOutputGUI\handlePrimaryButton().
ilTestNavigationToolbarGUI::setFinishTestCommand | ( | $finishTestCommand | ) |
string | $finishTestCommand |
Definition at line 196 of file class.ilTestNavigationToolbarGUI.php.
References $finishTestCommand.
ilTestNavigationToolbarGUI::setQuestionListButtonEnabled | ( | $questionListButtonEnabled | ) |
boolean | $questionListButtonEnabled |
Definition at line 116 of file class.ilTestNavigationToolbarGUI.php.
References $questionListButtonEnabled.
ilTestNavigationToolbarGUI::setQuestionSelectionButtonEnabled | ( | $questionSelectionButtonEnabled | ) |
boolean | $questionSelectionButtonEnabled |
Definition at line 164 of file class.ilTestNavigationToolbarGUI.php.
References $questionSelectionButtonEnabled.
ilTestNavigationToolbarGUI::setQuestionTreeButtonEnabled | ( | $questionTreeButtonEnabled | ) |
boolean | $questionTreeButtonEnabled |
Definition at line 132 of file class.ilTestNavigationToolbarGUI.php.
References $questionTreeButtonEnabled.
ilTestNavigationToolbarGUI::setQuestionTreeVisible | ( | $questionTreeVisible | ) |
boolean | $questionTreeVisible |
Definition at line 148 of file class.ilTestNavigationToolbarGUI.php.
References $questionTreeVisible.
ilTestNavigationToolbarGUI::setSuspendTestButtonEnabled | ( | $suspendTestButtonEnabled | ) |
boolean | $suspendTestButtonEnabled |
Definition at line 100 of file class.ilTestNavigationToolbarGUI.php.
References $suspendTestButtonEnabled.
|
protected |
Definition at line 18 of file class.ilTestNavigationToolbarGUI.php.
Referenced by __construct().
|
private |
Definition at line 73 of file class.ilTestNavigationToolbarGUI.php.
Referenced by isDisabledStateEnabled(), and setDisabledStateEnabled().
|
private |
Definition at line 58 of file class.ilTestNavigationToolbarGUI.php.
Referenced by isFinishTestButtonEnabled(), and setFinishTestButtonEnabled().
|
private |
Definition at line 68 of file class.ilTestNavigationToolbarGUI.php.
Referenced by isFinishTestButtonPrimary(), and setFinishTestButtonPrimary().
|
private |
Definition at line 63 of file class.ilTestNavigationToolbarGUI.php.
Referenced by getFinishTestCommand(), and setFinishTestCommand().
|
protected |
Definition at line 23 of file class.ilTestNavigationToolbarGUI.php.
Referenced by __construct().
|
protected |
Definition at line 28 of file class.ilTestNavigationToolbarGUI.php.
Referenced by __construct().
|
private |
Definition at line 38 of file class.ilTestNavigationToolbarGUI.php.
Referenced by isQuestionListButtonEnabled(), and setQuestionListButtonEnabled().
|
private |
Definition at line 53 of file class.ilTestNavigationToolbarGUI.php.
Referenced by isQuestionSelectionButtonEnabled(), and setQuestionSelectionButtonEnabled().
|
private |
Definition at line 43 of file class.ilTestNavigationToolbarGUI.php.
Referenced by isQuestionTreeButtonEnabled(), and setQuestionTreeButtonEnabled().
|
private |
Definition at line 48 of file class.ilTestNavigationToolbarGUI.php.
Referenced by isQuestionTreeVisible(), and setQuestionTreeVisible().
|
private |
Definition at line 33 of file class.ilTestNavigationToolbarGUI.php.
Referenced by isSuspendTestButtonEnabled(), and setSuspendTestButtonEnabled().