ILIAS
release_8 Revision v8.19-1-g4e8f2f9140c
|
Public Member Functions | |
__construct (ilCtrl $ctrl, ilGlobalTemplateInterface $tpl, ilLanguage $lng) | |
build () | |
setPdfExportLinkTarget (string $pdfExportLinkTarget) | |
getPdfExportLinkTarget () | |
setCertificateLinkTarget (string $certificateLinkTarget) | |
getCertificateLinkTarget () | |
setShowBestSolutionsLinkTarget (string $showBestSolutionsLinkTarget) | |
getShowBestSolutionsLinkTarget () | |
setHideBestSolutionsLinkTarget (string $hideBestSolutionsLinkTarget) | |
getHideBestSolutionsLinkTarget () | |
setParticipantSelectorOptions (array $participantSelectorOptions) | |
getParticipantSelectorOptions () | |
getParticipantSelectorOptionsWithHintOption () | |
![]() | |
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) | |
Data Fields | |
ilCtrl | $ctrl |
ilGlobalTemplateInterface | $tpl |
![]() | |
array | $items = array() |
Private Member Functions | |
getPdfExportLabel () | |
Private Attributes | |
string | $pdfExportLinkTarget = null |
string | $certificateLinkTarget = null |
string | $showBestSolutionsLinkTarget = null |
string | $hideBestSolutionsLinkTarget = null |
array | $participantSelectorOptions = array() |
Additional Inherited Members | |
![]() | |
applyAutoStickyToSingleElement () | |
If the toolbar consists of only one button, make it sticky Note: Atm this is only possible for buttons. More... | |
![]() | |
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 |
![]() | |
static int | $instances = 0 |
Definition at line 25 of file class.ilTestResultsToolbarGUI.php.
ilTestResultsToolbarGUI::__construct | ( | ilCtrl | $ctrl, |
ilGlobalTemplateInterface | $tpl, | ||
ilLanguage | $lng | ||
) |
Definition at line 36 of file class.ilTestResultsToolbarGUI.php.
References $ctrl, $tpl, ILIAS\GlobalScreen\Provider\__construct(), and ILIAS\Repository\ctrl().
ilTestResultsToolbarGUI::build | ( | ) |
Definition at line 43 of file class.ilTestResultsToolbarGUI.php.
References ilToolbarGUI\addButton(), ilToolbarGUI\addButtonInstance(), ilToolbarGUI\addInputItem(), ilToolbarGUI\addSeparator(), getCertificateLinkTarget(), getHideBestSolutionsLinkTarget(), ilLinkButton\getInstance(), getParticipantSelectorOptions(), getParticipantSelectorOptionsWithHintOption(), getPdfExportLabel(), getPdfExportLinkTarget(), getShowBestSolutionsLinkTarget(), ILIAS\Repository\lng(), and ilToolbarGUI\setId().
ilTestResultsToolbarGUI::getCertificateLinkTarget | ( | ) |
Definition at line 108 of file class.ilTestResultsToolbarGUI.php.
References $certificateLinkTarget.
Referenced by build().
ilTestResultsToolbarGUI::getHideBestSolutionsLinkTarget | ( | ) |
Definition at line 128 of file class.ilTestResultsToolbarGUI.php.
References $hideBestSolutionsLinkTarget.
Referenced by build().
ilTestResultsToolbarGUI::getParticipantSelectorOptions | ( | ) |
Definition at line 138 of file class.ilTestResultsToolbarGUI.php.
References $participantSelectorOptions.
Referenced by build(), and getParticipantSelectorOptionsWithHintOption().
ilTestResultsToolbarGUI::getParticipantSelectorOptionsWithHintOption | ( | ) |
Definition at line 143 of file class.ilTestResultsToolbarGUI.php.
References ILIAS\LTI\ToolProvider\$key, getParticipantSelectorOptions(), and ILIAS\Repository\lng().
Referenced by build().
|
private |
Definition at line 88 of file class.ilTestResultsToolbarGUI.php.
References ILIAS\Repository\lng().
Referenced by build().
ilTestResultsToolbarGUI::getPdfExportLinkTarget | ( | ) |
Definition at line 98 of file class.ilTestResultsToolbarGUI.php.
References $pdfExportLinkTarget.
Referenced by build().
ilTestResultsToolbarGUI::getShowBestSolutionsLinkTarget | ( | ) |
Definition at line 118 of file class.ilTestResultsToolbarGUI.php.
References $showBestSolutionsLinkTarget.
Referenced by build().
ilTestResultsToolbarGUI::setCertificateLinkTarget | ( | string | $certificateLinkTarget | ) |
Definition at line 103 of file class.ilTestResultsToolbarGUI.php.
References $certificateLinkTarget.
ilTestResultsToolbarGUI::setHideBestSolutionsLinkTarget | ( | string | $hideBestSolutionsLinkTarget | ) |
Definition at line 123 of file class.ilTestResultsToolbarGUI.php.
References $hideBestSolutionsLinkTarget.
ilTestResultsToolbarGUI::setParticipantSelectorOptions | ( | array | $participantSelectorOptions | ) |
Definition at line 133 of file class.ilTestResultsToolbarGUI.php.
References $participantSelectorOptions.
ilTestResultsToolbarGUI::setPdfExportLinkTarget | ( | string | $pdfExportLinkTarget | ) |
Definition at line 93 of file class.ilTestResultsToolbarGUI.php.
References $pdfExportLinkTarget.
ilTestResultsToolbarGUI::setShowBestSolutionsLinkTarget | ( | string | $showBestSolutionsLinkTarget | ) |
Definition at line 113 of file class.ilTestResultsToolbarGUI.php.
References $showBestSolutionsLinkTarget.
|
private |
Definition at line 31 of file class.ilTestResultsToolbarGUI.php.
Referenced by getCertificateLinkTarget(), and setCertificateLinkTarget().
ilCtrl ilTestResultsToolbarGUI::$ctrl |
Definition at line 27 of file class.ilTestResultsToolbarGUI.php.
Referenced by __construct().
|
private |
Definition at line 33 of file class.ilTestResultsToolbarGUI.php.
Referenced by getHideBestSolutionsLinkTarget(), and setHideBestSolutionsLinkTarget().
|
private |
Definition at line 34 of file class.ilTestResultsToolbarGUI.php.
Referenced by getParticipantSelectorOptions(), and setParticipantSelectorOptions().
|
private |
Definition at line 30 of file class.ilTestResultsToolbarGUI.php.
Referenced by getPdfExportLinkTarget(), and setPdfExportLinkTarget().
|
private |
Definition at line 32 of file class.ilTestResultsToolbarGUI.php.
Referenced by getShowBestSolutionsLinkTarget(), and setShowBestSolutionsLinkTarget().
ilGlobalTemplateInterface ilTestResultsToolbarGUI::$tpl |
Definition at line 28 of file class.ilTestResultsToolbarGUI.php.
Referenced by __construct().