|
ILIAS
release_8 Revision v8.24
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Inheritance diagram for ilSplitButtonGUI:
Collaboration diagram for ilSplitButtonGUI:Public Member Functions | |
| addMenuItem (ilSplitButtonMenuItem $menu_item) | |
| removeMenuItem (ilSplitButtonMenuItem $menu_item) | |
| hasMenuItems () | |
| getMenuItems () | |
| setMenuItems (array $menu_items) | |
| getDefaultButton () | |
| hasDefaultButton () | |
| setDefaultButton (ilButtonBase $default_button) | |
| render () | |
Public Member Functions inherited from ilButtonBase | |
| __clone () | |
| getType () | |
| setId (?string $a_value) | |
| getId () | |
| setCaption (string $a_value, bool $a_is_lng_id=true) | |
| getCaption (bool $a_translate=true) | |
| setPrimary (bool $a_value) | |
| isPrimary () | |
| setOmitPreventDoubleSubmission (bool $a_value) | |
| Toggle double submission prevention status. More... | |
| getOmitPreventDoubleSubmission () | |
| setOnClick (string $a_value) | |
| getOnClick () | |
| setDisabled (bool $a_value) | |
| isDisabled () | |
| addCSSClass (string $a_value) | |
| getCSSClasses () | |
| applyDefaultCss (?bool $apply_default_css=null) | |
| render () | |
| getToolbarHTML () | |
| Get input item HTML to be inserted into ilToolbarGUI. More... | |
| getToolbarHTML () | |
| Get input item HTML to be inserted into ilToolbarGUI. More... | |
Static Public Member Functions | |
| static | getInstance () |
| static | getInstance () |
Protected Member Functions | |
| __construct (int $a_type) | |
Protected Member Functions inherited from ilButtonBase | |
| __construct (int $a_type) | |
| setType (int $a_value) | |
| gatherCssClasses () | |
| renderAttributesHelper (array $a_attr) | |
| renderAttributes (array $a_additional_attr=null) | |
| Render current HTML attributes. More... | |
| prepareRender () | |
Protected Attributes | |
| ilButtonBase | $default_button |
| array | $menu_items = [] |
Protected Attributes inherited from ilButtonBase | |
| ilLanguage | $lng |
| int | $type = 0 |
| string | $id = "" |
| string | $caption = "" |
| bool | $caption_is_lng_id = false |
| bool | $primary = false |
| bool | $omit_prevent_double_submission = false |
| string | $onclick = "" |
| int | $acc_key = 0 |
| bool | $disabled = false |
| array | $css = array() |
| bool | $apply_default_css = true |
Additional Inherited Members | |
Data Fields inherited from ilButtonBase | |
| const | TYPE_SUBMIT = 1 |
| const | TYPE_LINK = 2 |
| const | TYPE_SPLIT = 3 |
| const | TYPE_BUTTON = 4 |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Class ilSplitButton
Definition at line 23 of file class.ilSplitButtonGUI.php.
|
protected |
Reimplemented from ilButtonBase.
Definition at line 31 of file class.ilSplitButtonGUI.php.
References ILIAS\GlobalScreen\Provider\__construct().
Here is the call graph for this function:| ilSplitButtonGUI::addMenuItem | ( | ilSplitButtonMenuItem | $menu_item | ) |
Definition at line 41 of file class.ilSplitButtonGUI.php.
| ilSplitButtonGUI::getDefaultButton | ( | ) |
Definition at line 85 of file class.ilSplitButtonGUI.php.
References $default_button.
Referenced by render().
Here is the caller graph for this function:
|
static |
Reimplemented from ilButtonBase.
Definition at line 36 of file class.ilSplitButtonGUI.php.
References ilButtonBase\TYPE_SPLIT.
Referenced by ilPortfolioPageTableGUI\fillRow(), assClozeTestGUI\populateQuestionSpecificFormPart(), and ilObjForumGUI\viewThreadObject().
Here is the caller graph for this function:| ilSplitButtonGUI::getMenuItems | ( | ) |
Definition at line 62 of file class.ilSplitButtonGUI.php.
References $menu_items.
Referenced by render().
Here is the caller graph for this function:| ilSplitButtonGUI::hasDefaultButton | ( | ) |
Definition at line 90 of file class.ilSplitButtonGUI.php.
Referenced by render().
Here is the caller graph for this function:| ilSplitButtonGUI::hasMenuItems | ( | ) |
Definition at line 54 of file class.ilSplitButtonGUI.php.
Referenced by render().
Here is the caller graph for this function:| ilSplitButtonGUI::removeMenuItem | ( | ilSplitButtonMenuItem | $menu_item | ) |
Definition at line 46 of file class.ilSplitButtonGUI.php.
References ILIAS\LTI\ToolProvider\$key.
| ilSplitButtonGUI::render | ( | ) |
| ilSplitButtonException |
Reimplemented from ilButtonBase.
Definition at line 103 of file class.ilSplitButtonGUI.php.
References $tpl, getDefaultButton(), getMenuItems(), hasDefaultButton(), hasMenuItems(), ilButtonBase\isPrimary(), ILIAS\Repository\lng(), and render().
Referenced by render().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSplitButtonGUI::setDefaultButton | ( | ilButtonBase | $default_button | ) |
Definition at line 95 of file class.ilSplitButtonGUI.php.
References $default_button.
| ilSplitButtonGUI::setMenuItems | ( | array | $menu_items | ) |
| ilSplitButtonMenuItem[] | $menu_items |
| ilSplitButtonException |
Definition at line 71 of file class.ilSplitButtonGUI.php.
References $menu_items.
|
protected |
Definition at line 25 of file class.ilSplitButtonGUI.php.
Referenced by getDefaultButton(), and setDefaultButton().
|
protected |
Definition at line 29 of file class.ilSplitButtonGUI.php.
Referenced by getMenuItems(), and setMenuItems().