|
ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Class ilSplitButton. More...
Inheritance diagram for ilSplitButtonGUI:
Collaboration diagram for ilSplitButtonGUI:Public Member Functions | |
| addMenuItem (ilSplitButtonMenuItem $menu_item) | |
| removeMenuItem (ilSplitButtonMenuItem $menu_item) | |
| hasMenuItems () | |
| getMenuItems () | |
| setMenuItems ($menu_items) | |
| getDefaultButton () | |
| hasDefaultButton () | |
| setDefaultButton (ilButtonBase $default_button) | |
| render () | |
Public Member Functions inherited from ilButtonBase | |
| __clone () | |
| Clone instance. More... | |
| getType () | |
| Get button type. More... | |
| setId ($a_value) | |
| Set id. More... | |
| getId () | |
| Get id. More... | |
| setCaption ($a_value, $a_is_lng_id=true) | |
| Set caption. More... | |
| getCaption ($a_translate=true) | |
| Get caption. More... | |
| setPrimary ($a_value) | |
| Toggle primary status. More... | |
| isPrimary () | |
| Get primary status. More... | |
| setOmitPreventDoubleSubmission ($a_value) | |
| Toggle double submission prevention status. More... | |
| getOmitPreventDoubleSubmission () | |
| Get double submission prevention status. More... | |
| setOnClick ($a_value) | |
| Set onclick. More... | |
| getOnClick () | |
| Get onclick. More... | |
| setAccessKey ($a_value) | |
| Set access key. More... | |
| getAccessKey () | |
| Get access key. More... | |
| setDisabled ($a_value) | |
| Toggle disabled status. More... | |
| isDisabled () | |
| Get disabled status. More... | |
| addCSSClass ($a_value) | |
| Add CSS class. More... | |
| getCSSClasses () | |
| Get CSS class(es) More... | |
| applyDefaultCss ($apply_default_css=null) | |
| render () | |
| Render HTML. More... | |
| getToolbarHTML () | |
| getToolbarHTML () | |
| Get input item HTML to be inserted into ilToolbarGUI. More... | |
Static Public Member Functions | |
| static | getInstance () |
| static | getInstance () |
| Factory. More... | |
Protected Attributes | |
| $lng | |
| $default_button | |
| $menu_items = array() | |
Protected Attributes inherited from ilButtonBase | |
| $lng | |
| $type | |
| $id | |
| $caption | |
| $caption_is_lng_id | |
| $primary | |
| $omit_prevent_double_submission | |
| $onclick | |
| $acc_key | |
| $disabled | |
| $css = array() | |
| $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 |
Protected Member Functions inherited from ilButtonBase | |
| __construct ($a_type) | |
| Constructor. More... | |
| setType ($a_value) | |
| Set button type. More... | |
| gatherCssClasses () | |
| Gather all active CSS classes. More... | |
| renderAttributesHelper (array $a_attr) | |
| Render HTML node attributes. More... | |
| renderAttributes (array $a_additional_attr=null) | |
| Render current HTML attributes. More... | |
| prepareRender () | |
| Prepare render. More... | |
Class ilSplitButton.
Definition at line 14 of file class.ilSplitButtonGUI.php.
| ilSplitButtonGUI::addMenuItem | ( | ilSplitButtonMenuItem | $menu_item | ) |
| ilSplitButtonMenuItem | $menu_item |
Definition at line 59 of file class.ilSplitButtonGUI.php.
| ilSplitButtonGUI::getDefaultButton | ( | ) |
Definition at line 112 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 51 of file class.ilSplitButtonGUI.php.
References ilButtonBase\TYPE_SPLIT.
Referenced by ilRepositorySearchGUI\fillAutoCompleteToolbar(), ilPortfolioPageTableGUI\fillRow(), assClozeTestGUI\populateQuestionSpecificFormPart(), and ilObjForumGUI\renderSplitButton().
Here is the caller graph for this function:| ilSplitButtonGUI::getMenuItems | ( | ) |
Definition at line 86 of file class.ilSplitButtonGUI.php.
References $menu_items.
Referenced by render().
Here is the caller graph for this function:| ilSplitButtonGUI::hasDefaultButton | ( | ) |
Definition at line 120 of file class.ilSplitButtonGUI.php.
Referenced by render().
Here is the caller graph for this function:| ilSplitButtonGUI::hasMenuItems | ( | ) |
Definition at line 78 of file class.ilSplitButtonGUI.php.
Referenced by render().
Here is the caller graph for this function:| ilSplitButtonGUI::removeMenuItem | ( | ilSplitButtonMenuItem | $menu_item | ) |
| ilSplitButtonMenuItem | $menu_item |
Definition at line 67 of file class.ilSplitButtonGUI.php.
| ilSplitButtonGUI::render | ( | ) |
| ilSplitButtonException |
Reimplemented from ilButtonBase.
Definition at line 137 of file class.ilSplitButtonGUI.php.
References $tpl, getDefaultButton(), getMenuItems(), hasDefaultButton(), hasMenuItems(), ilButtonBase\isPrimary(), 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 | ) |
| ilButtonBase | $default_button |
Definition at line 128 of file class.ilSplitButtonGUI.php.
References $default_button.
| ilSplitButtonGUI::setMenuItems | ( | $menu_items | ) |
| ilSplitButtonMenuItem[] | $menu_items |
| ilSplitButtonException |
Definition at line 95 of file class.ilSplitButtonGUI.php.
References $menu_items.
|
protected |
Definition at line 24 of file class.ilSplitButtonGUI.php.
Referenced by getDefaultButton(), and setDefaultButton().
|
protected |
Definition at line 19 of file class.ilSplitButtonGUI.php.
|
protected |
Definition at line 29 of file class.ilSplitButtonGUI.php.
Referenced by getMenuItems(), and setMenuItems().