ILIAS
release_8 Revision v8.19
|
Public Member Functions | |
__construct (ilLanguage $lng) | |
build () | |
setResetPreviewCmd ($resetPreviewCmd) | |
getResetPreviewCmd () | |
getEditQuestionCmd () | |
setEditQuestionCmd ($editQuestionCmd) | |
getEditPageCmd () | |
setEditPageCmd ($editPageCmd) | |
![]() | |
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) | |
Private Attributes | |
$resetPreviewCmd | |
$editQuestionCmd | |
$editPageCmd | |
Additional Inherited Members | |
![]() | |
array | $items = array() |
![]() | |
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.ilAssQuestionPreviewToolbarGUI.php.
ilAssQuestionPreviewToolbarGUI::__construct | ( | ilLanguage | $lng | ) |
Definition at line 31 of file class.ilAssQuestionPreviewToolbarGUI.php.
References ilToolbarGUI\$lng, ILIAS\GlobalScreen\Provider\__construct(), and ILIAS\Repository\lng().
ilAssQuestionPreviewToolbarGUI::build | ( | ) |
Definition at line 38 of file class.ilAssQuestionPreviewToolbarGUI.php.
References ilToolbarGUI\addButtonInstance(), getEditPageCmd(), getEditQuestionCmd(), ilSubmitButton\getInstance(), ilLinkButton\getInstance(), and getResetPreviewCmd().
ilAssQuestionPreviewToolbarGUI::getEditPageCmd | ( | ) |
Definition at line 95 of file class.ilAssQuestionPreviewToolbarGUI.php.
References $editPageCmd.
Referenced by build().
ilAssQuestionPreviewToolbarGUI::getEditQuestionCmd | ( | ) |
Definition at line 79 of file class.ilAssQuestionPreviewToolbarGUI.php.
References $editQuestionCmd.
Referenced by build().
ilAssQuestionPreviewToolbarGUI::getResetPreviewCmd | ( | ) |
Definition at line 71 of file class.ilAssQuestionPreviewToolbarGUI.php.
References $resetPreviewCmd.
Referenced by build().
ilAssQuestionPreviewToolbarGUI::setEditPageCmd | ( | $editPageCmd | ) |
mixed | $editPageCmd |
Definition at line 103 of file class.ilAssQuestionPreviewToolbarGUI.php.
References $editPageCmd.
ilAssQuestionPreviewToolbarGUI::setEditQuestionCmd | ( | $editQuestionCmd | ) |
mixed | $editQuestionCmd |
Definition at line 87 of file class.ilAssQuestionPreviewToolbarGUI.php.
References $editQuestionCmd.
ilAssQuestionPreviewToolbarGUI::setResetPreviewCmd | ( | $resetPreviewCmd | ) |
Definition at line 66 of file class.ilAssQuestionPreviewToolbarGUI.php.
References $resetPreviewCmd.
|
private |
Definition at line 29 of file class.ilAssQuestionPreviewToolbarGUI.php.
Referenced by getEditPageCmd(), and setEditPageCmd().
|
private |
Definition at line 28 of file class.ilAssQuestionPreviewToolbarGUI.php.
Referenced by getEditQuestionCmd(), and setEditQuestionCmd().
|
private |
Definition at line 27 of file class.ilAssQuestionPreviewToolbarGUI.php.
Referenced by getResetPreviewCmd(), and setResetPreviewCmd().