ILIAS
trunk Revision v11.0_alpha-1715-g7fc467680fb
|
Public Member Functions | |
__construct (ilCtrlInterface $ctrl, ilLanguage $lng, ilTestRandomQuestionSetConfigGUI $questionSetConfigGUI, ilTestRandomQuestionSetConfig $questionSetConfig) | |
build () | |
![]() | |
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 | |
ilCtrlInterface | $ctrl |
ilTestRandomQuestionSetConfigGUI | $questionSetConfigGUI |
ilTestRandomQuestionSetConfig | $questionSetConfig |
![]() | |
array | $items = array() |
Private Member Functions | |
buildSourcePoolSelectOptionsArray ($availablePools) | |
populateNewQuestionSelectionRuleInputs () | |
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 27 of file class.ilTestRandomQuestionSetSourcePoolDefinitionListToolbarGUI.php.
ilTestRandomQuestionSetSourcePoolDefinitionListToolbarGUI::__construct | ( | ilCtrlInterface | $ctrl, |
ilLanguage | $lng, | ||
ilTestRandomQuestionSetConfigGUI | $questionSetConfigGUI, | ||
ilTestRandomQuestionSetConfig | $questionSetConfig | ||
) |
Definition at line 33 of file class.ilTestRandomQuestionSetSourcePoolDefinitionListToolbarGUI.php.
References $ctrl, ilToolbarGUI\$lng, $questionSetConfig, $questionSetConfigGUI, ILIAS\GlobalScreen\Provider\__construct(), ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
ilTestRandomQuestionSetSourcePoolDefinitionListToolbarGUI::build | ( | ) |
Definition at line 43 of file class.ilTestRandomQuestionSetSourcePoolDefinitionListToolbarGUI.php.
References ILIAS\Repository\ctrl(), populateNewQuestionSelectionRuleInputs(), and ilToolbarGUI\setFormAction().
|
private |
Definition at line 52 of file class.ilTestRandomQuestionSetSourcePoolDefinitionListToolbarGUI.php.
|
private |
Definition at line 63 of file class.ilTestRandomQuestionSetSourcePoolDefinitionListToolbarGUI.php.
References ilToolbarGUI\addFormButton(), ilTestRandomQuestionSetConfigGUI\CMD_SHOW_POOL_SELECTOR_EXPLORER, and ILIAS\Repository\lng().
Referenced by build().
ilCtrlInterface ilTestRandomQuestionSetSourcePoolDefinitionListToolbarGUI::$ctrl |
Definition at line 29 of file class.ilTestRandomQuestionSetSourcePoolDefinitionListToolbarGUI.php.
Referenced by __construct().
ilTestRandomQuestionSetConfig ilTestRandomQuestionSetSourcePoolDefinitionListToolbarGUI::$questionSetConfig |
Definition at line 31 of file class.ilTestRandomQuestionSetSourcePoolDefinitionListToolbarGUI.php.
Referenced by __construct().
ilTestRandomQuestionSetConfigGUI ilTestRandomQuestionSetSourcePoolDefinitionListToolbarGUI::$questionSetConfigGUI |
Definition at line 30 of file class.ilTestRandomQuestionSetSourcePoolDefinitionListToolbarGUI.php.
Referenced by __construct().