|
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 ilAdvancedSelectionListGUI:
Collaboration diagram for ilAdvancedSelectionListGUI:Public Member Functions | |
| setLinksMode (string $a_link_class="") | |
| Set links mode (for no js fallback) More... | |
| setFormSelectMode (string $a_select_name, string $a_select_class="", bool $a_include_form_tag=false, string $a_form_action="", string $a_form_id="", string $a_form_class="", string $a_form_target="_top", string $a_button_text="", string $a_button_class="", string $a_button_cmd="") | |
| Set form mode (for no js fallback) Outputs form selection including surrounding form. More... | |
| addItem (string $a_title, string $a_value="", string $a_link="", string $a_img="", string $a_alt="", string $a_frame="", string $a_html="", bool $a_prevent_background_click=false, string $a_onclick="", string $a_ttip="", string $a_tt_my="right center", string $a_tt_at="left center", bool $a_tt_use_htmlspecialchars=true, array $a_data=array()) | |
| addComponent (\ILIAS\UI\Component\Component $component) | |
| setGroupedList (ilGroupedListGUI $a_val) | |
| getGroupedList () | |
| flush () | |
| getItems () | |
| setListTitle (string $a_listtitle) | |
| getListTitle () | |
| setAriaListTitle (string $a_listtitle) | |
| getAriaListTitle () | |
| setSelectionHeaderClass (string $a_selectionheaderclass) | |
| DEPRECATED use set style instead. More... | |
| getSelectionHeaderClass () | |
| setStyle (int $a_val) | |
| getStyle () | |
| setSelectionHeaderSpanClass (string $a_val) | |
| getSelectionHeaderSpanClass () | |
| setHeaderIcon (string $a_headericon) | |
| getHeaderIcon () | |
| setNoJSLinkClass (string $a_nojslinkclass) | |
| getNoJSLinkClass () | |
| setItemLinkClass (string $a_itemlinkclass) | |
| getItemLinkClass () | |
| setId (string $a_id) | |
| getId () | |
| setUseImages (bool $a_useimages) | |
| getUseImages () | |
| setTriggerEvent (string $a_val) | |
| getTriggerEvent () | |
| setAutoHide (bool $a_val) | |
| getAutoHide () | |
| setOnClickMode (string $a_val, string $a_onclick_form_id="") | |
| Set "onClick"- Mode. More... | |
| getOnClickMode () | |
| setSelectedValue (string $a_val) | |
| getSelectedValue () | |
| setAdditionalToggleElement (string $a_el, string $a_on) | |
| Set additional toggle element. More... | |
| getAdditionalToggleElement () | |
| Get additional toggle element. More... | |
| setAsynch (bool $a_val) | |
| getAsynch () | |
| setAsynchUrl (string $a_val) | |
| getAsynchUrl () | |
| setSelectCallback (string $a_val) | |
| getSelectCallback () | |
| setPullRight (bool $a_val) | |
| getPullRight () | |
| getToolbarHTML () | |
| Get input item HTML to be inserted into ilToolbarGUI. More... | |
| getHTML (bool $a_only_cmd_list_asynch=false) | |
| getOnloadCode () | |
| getToolbarHTML () | |
| Get input item HTML to be inserted into ilToolbarGUI. More... | |
Data Fields | |
| const | DOWN_ARROW_DARK = "down_arrow_dark" |
| const | ICON_ARROW = "caret" |
| const | ICON_CONFIG = "glyphicon glyphicon-cog" |
| const | NO_ICON = "" |
| const | MODE_LINKS = "links" |
| const | MODE_FORM_SELECT = "select" |
| const | ON_ITEM_CLICK_HREF = "href" |
| const | ON_ITEM_CLICK_FORM_SUBMIT = "submit" |
| const | ON_ITEM_CLICK_FORM_SELECT = "select" |
| const | ON_ITEM_CLICK_NOP = "nop" |
| const | STYLE_DEFAULT = 0 |
| const | STYLE_LINK = 1 |
| const | STYLE_EMPH = 2 |
| const | STYLE_LINK_BUTTON = 3 |
Protected Member Functions | |
| getJSTemplate () | |
Protected Attributes | |
| string | $css_row = "" |
| bool | $access_key = false |
| array | $toggle = null |
| string | $asynch_url = '' |
| string | $selected_value = "" |
| string | $trigger_event = "click" |
| bool | $auto_hide = false |
| ilGroupedListGUI | $grouped_list = null |
| int | $style = 0 |
| string | $listtitle = "" |
| string | $aria_listtitle = "" |
| bool | $useimages = false |
| string | $itemlinkclass = '' |
| string | $mode = "" |
| array | $links_mode = [] |
| string | $selectionheaderclass = "" |
| string | $headericon = "" |
| string | $nojslinkclass = "" |
| string | $on_click = "" |
| array | $form_mode |
| string | $select_callback = '' |
| string | $sel_head_span_class = '' |
| ilLanguage | $lng |
| string | $on_click_form_id |
| ilGlobalTemplateInterface | $global_tpl |
Private Attributes | |
| array | $items = array() |
| string | $id = "asl" |
| bool | $asynch = false |
| bool | $dd_pullright = true |
| ILIAS UI Renderer | $renderer |
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 User interface class for advanced drop-down selection lists
Definition at line 25 of file class.ilAdvancedSelectionListGUI.php.
| ilAdvancedSelectionListGUI::addComponent | ( | \ILIAS\UI\Component\Component | $component | ) |
Definition at line 190 of file class.ilAdvancedSelectionListGUI.php.
| ilAdvancedSelectionListGUI::addItem | ( | string | $a_title, |
| string | $a_value = "", |
||
| string | $a_link = "", |
||
| string | $a_img = "", |
||
| string | $a_alt = "", |
||
| string | $a_frame = "", |
||
| string | $a_html = "", |
||
| bool | $a_prevent_background_click = false, |
||
| string | $a_onclick = "", |
||
| string | $a_ttip = "", |
||
| string | $a_tt_my = "right center", |
||
| string | $a_tt_at = "left center", |
||
| bool | $a_tt_use_htmlspecialchars = true, |
||
| array | $a_data = array() |
||
| ) |
Definition at line 167 of file class.ilAdvancedSelectionListGUI.php.
Referenced by ilOrgUnitRecursiveUserAssignmentTableGUI\addActions(), ilSystemStylesTableGUI\addManagementActionsToList(), and ilFileNewsRendererGUI\addTimelineActions().
Here is the caller graph for this function:| ilAdvancedSelectionListGUI::flush | ( | ) |
Definition at line 207 of file class.ilAdvancedSelectionListGUI.php.
| ilAdvancedSelectionListGUI::getAdditionalToggleElement | ( | ) |
Get additional toggle element.
Definition at line 391 of file class.ilAdvancedSelectionListGUI.php.
| ilAdvancedSelectionListGUI::getAriaListTitle | ( | ) |
Definition at line 232 of file class.ilAdvancedSelectionListGUI.php.
| ilAdvancedSelectionListGUI::getAsynch | ( | ) |
Definition at line 404 of file class.ilAdvancedSelectionListGUI.php.
| ilAdvancedSelectionListGUI::getAsynchUrl | ( | ) |
Definition at line 414 of file class.ilAdvancedSelectionListGUI.php.
| ilAdvancedSelectionListGUI::getAutoHide | ( | ) |
Definition at line 342 of file class.ilAdvancedSelectionListGUI.php.
| ilAdvancedSelectionListGUI::getGroupedList | ( | ) |
Definition at line 202 of file class.ilAdvancedSelectionListGUI.php.
| ilAdvancedSelectionListGUI::getHeaderIcon | ( | ) |
Definition at line 282 of file class.ilAdvancedSelectionListGUI.php.
| ilAdvancedSelectionListGUI::getHTML | ( | bool | $a_only_cmd_list_asynch = false | ) |
Definition at line 444 of file class.ilAdvancedSelectionListGUI.php.
References $tpl, ilTooltipGUI\addTooltip(), ILIAS\Survey\Mode\getId(), ilUtil\getImagePath(), ILIAS\Repository\lng(), and ilLegacyFormElementsUtil\prepareFormOutput().
Here is the call graph for this function:| ilAdvancedSelectionListGUI::getId | ( | ) |
Definition at line 312 of file class.ilAdvancedSelectionListGUI.php.
References $id.
| ilAdvancedSelectionListGUI::getItemLinkClass | ( | ) |
Definition at line 302 of file class.ilAdvancedSelectionListGUI.php.
| ilAdvancedSelectionListGUI::getItems | ( | ) |
Definition at line 212 of file class.ilAdvancedSelectionListGUI.php.
|
protected |
Definition at line 744 of file class.ilAdvancedSelectionListGUI.php.
| ilAdvancedSelectionListGUI::getListTitle | ( | ) |
Definition at line 222 of file class.ilAdvancedSelectionListGUI.php.
| ilAdvancedSelectionListGUI::getNoJSLinkClass | ( | ) |
Definition at line 292 of file class.ilAdvancedSelectionListGUI.php.
| ilAdvancedSelectionListGUI::getOnClickMode | ( | ) |
Definition at line 363 of file class.ilAdvancedSelectionListGUI.php.
| ilAdvancedSelectionListGUI::getOnloadCode | ( | ) |
Definition at line 757 of file class.ilAdvancedSelectionListGUI.php.
References ILIAS\Survey\Mode\getId().
Here is the call graph for this function:| ilAdvancedSelectionListGUI::getPullRight | ( | ) |
Definition at line 434 of file class.ilAdvancedSelectionListGUI.php.
| ilAdvancedSelectionListGUI::getSelectCallback | ( | ) |
Definition at line 424 of file class.ilAdvancedSelectionListGUI.php.
| ilAdvancedSelectionListGUI::getSelectedValue | ( | ) |
Definition at line 373 of file class.ilAdvancedSelectionListGUI.php.
| ilAdvancedSelectionListGUI::getSelectionHeaderClass | ( | ) |
Definition at line 246 of file class.ilAdvancedSelectionListGUI.php.
| ilAdvancedSelectionListGUI::getSelectionHeaderSpanClass | ( | ) |
Definition at line 272 of file class.ilAdvancedSelectionListGUI.php.
| ilAdvancedSelectionListGUI::getStyle | ( | ) |
Definition at line 262 of file class.ilAdvancedSelectionListGUI.php.
| ilAdvancedSelectionListGUI::getToolbarHTML | ( | ) |
Get input item HTML to be inserted into ilToolbarGUI.
Implements ilToolbarItem.
Definition at line 439 of file class.ilAdvancedSelectionListGUI.php.
| ilAdvancedSelectionListGUI::getTriggerEvent | ( | ) |
Definition at line 332 of file class.ilAdvancedSelectionListGUI.php.
| ilAdvancedSelectionListGUI::getUseImages | ( | ) |
Definition at line 322 of file class.ilAdvancedSelectionListGUI.php.
| ilAdvancedSelectionListGUI::setAdditionalToggleElement | ( | string | $a_el, |
| string | $a_on | ||
| ) |
Set additional toggle element.
| string | $a_el | element id |
| string | $a_on | class for "on" |
Definition at line 383 of file class.ilAdvancedSelectionListGUI.php.
| ilAdvancedSelectionListGUI::setAriaListTitle | ( | string | $a_listtitle | ) |
Definition at line 227 of file class.ilAdvancedSelectionListGUI.php.
| ilAdvancedSelectionListGUI::setAsynch | ( | bool | $a_val | ) |
Definition at line 396 of file class.ilAdvancedSelectionListGUI.php.
References ilYuiUtil\initConnection().
Here is the call graph for this function:| ilAdvancedSelectionListGUI::setAsynchUrl | ( | string | $a_val | ) |
Definition at line 409 of file class.ilAdvancedSelectionListGUI.php.
| ilAdvancedSelectionListGUI::setAutoHide | ( | bool | $a_val | ) |
Definition at line 337 of file class.ilAdvancedSelectionListGUI.php.
| ilAdvancedSelectionListGUI::setFormSelectMode | ( | string | $a_select_name, |
| string | $a_select_class = "", |
||
| bool | $a_include_form_tag = false, |
||
| string | $a_form_action = "", |
||
| string | $a_form_id = "", |
||
| string | $a_form_class = "", |
||
| string | $a_form_target = "_top", |
||
| string | $a_button_text = "", |
||
| string | $a_button_class = "", |
||
| string | $a_button_cmd = "" |
||
| ) |
Set form mode (for no js fallback) Outputs form selection including surrounding form.
Definition at line 140 of file class.ilAdvancedSelectionListGUI.php.
| ilAdvancedSelectionListGUI::setGroupedList | ( | ilGroupedListGUI | $a_val | ) |
Definition at line 197 of file class.ilAdvancedSelectionListGUI.php.
| ilAdvancedSelectionListGUI::setHeaderIcon | ( | string | $a_headericon | ) |
Definition at line 277 of file class.ilAdvancedSelectionListGUI.php.
| ilAdvancedSelectionListGUI::setId | ( | string | $a_id | ) |
Definition at line 307 of file class.ilAdvancedSelectionListGUI.php.
| ilAdvancedSelectionListGUI::setItemLinkClass | ( | string | $a_itemlinkclass | ) |
Definition at line 297 of file class.ilAdvancedSelectionListGUI.php.
| ilAdvancedSelectionListGUI::setLinksMode | ( | string | $a_link_class = "" | ) |
Set links mode (for no js fallback)
Definition at line 128 of file class.ilAdvancedSelectionListGUI.php.
| ilAdvancedSelectionListGUI::setListTitle | ( | string | $a_listtitle | ) |
Definition at line 217 of file class.ilAdvancedSelectionListGUI.php.
| ilAdvancedSelectionListGUI::setNoJSLinkClass | ( | string | $a_nojslinkclass | ) |
Definition at line 287 of file class.ilAdvancedSelectionListGUI.php.
| ilAdvancedSelectionListGUI::setOnClickMode | ( | string | $a_val, |
| string | $a_onclick_form_id = "" |
||
| ) |
Set "onClick"- Mode.
Valid values are: ilAdvancedSelectionList::ON_ITEM_CLICK_HREF or ilAdvancedSelectionList::ON_ITEM_CLICK_FORM_SUBMIT ilAdvancedSelectionList::ON_ITEM_CLICK_FORM_SELECT
Definition at line 355 of file class.ilAdvancedSelectionListGUI.php.
| ilAdvancedSelectionListGUI::setPullRight | ( | bool | $a_val | ) |
Definition at line 429 of file class.ilAdvancedSelectionListGUI.php.
| ilAdvancedSelectionListGUI::setSelectCallback | ( | string | $a_val | ) |
Definition at line 419 of file class.ilAdvancedSelectionListGUI.php.
| ilAdvancedSelectionListGUI::setSelectedValue | ( | string | $a_val | ) |
Definition at line 368 of file class.ilAdvancedSelectionListGUI.php.
| ilAdvancedSelectionListGUI::setSelectionHeaderClass | ( | string | $a_selectionheaderclass | ) |
DEPRECATED use set style instead.
Definition at line 241 of file class.ilAdvancedSelectionListGUI.php.
| ilAdvancedSelectionListGUI::setSelectionHeaderSpanClass | ( | string | $a_val | ) |
Definition at line 267 of file class.ilAdvancedSelectionListGUI.php.
| ilAdvancedSelectionListGUI::setStyle | ( | int | $a_val | ) |
| int | $a_val | button style STYLE_DEFAULT, STYLE_LINK, STYLE_EMPH |
Definition at line 254 of file class.ilAdvancedSelectionListGUI.php.
| ilAdvancedSelectionListGUI::setTriggerEvent | ( | string | $a_val | ) |
Definition at line 327 of file class.ilAdvancedSelectionListGUI.php.
| ilAdvancedSelectionListGUI::setUseImages | ( | bool | $a_useimages | ) |
Definition at line 317 of file class.ilAdvancedSelectionListGUI.php.
|
protected |
Definition at line 50 of file class.ilAdvancedSelectionListGUI.php.
|
protected |
Definition at line 61 of file class.ilAdvancedSelectionListGUI.php.
|
private |
Definition at line 29 of file class.ilAdvancedSelectionListGUI.php.
|
protected |
Definition at line 52 of file class.ilAdvancedSelectionListGUI.php.
|
protected |
Definition at line 55 of file class.ilAdvancedSelectionListGUI.php.
|
protected |
Definition at line 49 of file class.ilAdvancedSelectionListGUI.php.
|
private |
Definition at line 58 of file class.ilAdvancedSelectionListGUI.php.
|
protected |
Definition at line 72 of file class.ilAdvancedSelectionListGUI.php.
|
protected |
Definition at line 90 of file class.ilAdvancedSelectionListGUI.php.
|
protected |
Definition at line 56 of file class.ilAdvancedSelectionListGUI.php.
|
protected |
Definition at line 67 of file class.ilAdvancedSelectionListGUI.php.
|
private |
Definition at line 28 of file class.ilAdvancedSelectionListGUI.php.
|
protected |
Definition at line 63 of file class.ilAdvancedSelectionListGUI.php.
|
private |
Definition at line 27 of file class.ilAdvancedSelectionListGUI.php.
|
protected |
Definition at line 65 of file class.ilAdvancedSelectionListGUI.php.
|
protected |
Definition at line 60 of file class.ilAdvancedSelectionListGUI.php.
|
protected |
Definition at line 88 of file class.ilAdvancedSelectionListGUI.php.
|
protected |
Definition at line 64 of file class.ilAdvancedSelectionListGUI.php.
|
protected |
Definition at line 68 of file class.ilAdvancedSelectionListGUI.php.
|
protected |
Definition at line 69 of file class.ilAdvancedSelectionListGUI.php.
|
protected |
Definition at line 89 of file class.ilAdvancedSelectionListGUI.php.
|
private |
Definition at line 87 of file class.ilAdvancedSelectionListGUI.php.
|
protected |
Definition at line 86 of file class.ilAdvancedSelectionListGUI.php.
|
protected |
Definition at line 85 of file class.ilAdvancedSelectionListGUI.php.
|
protected |
Definition at line 53 of file class.ilAdvancedSelectionListGUI.php.
|
protected |
Definition at line 66 of file class.ilAdvancedSelectionListGUI.php.
|
protected |
Definition at line 57 of file class.ilAdvancedSelectionListGUI.php.
|
protected |
Definition at line 51 of file class.ilAdvancedSelectionListGUI.php.
|
protected |
Definition at line 54 of file class.ilAdvancedSelectionListGUI.php.
|
protected |
Definition at line 62 of file class.ilAdvancedSelectionListGUI.php.
| const ilAdvancedSelectionListGUI::DOWN_ARROW_DARK = "down_arrow_dark" |
Definition at line 31 of file class.ilAdvancedSelectionListGUI.php.
Referenced by ilAdvSelectInputGUI\getAdvSelection(), ilCalendarPresentationGUI\prepareOutput(), ilNewsTimelineItemGUI\render(), and ilDashboardGUI\show().
| const ilAdvancedSelectionListGUI::ICON_ARROW = "caret" |
Definition at line 32 of file class.ilAdvancedSelectionListGUI.php.
| const ilAdvancedSelectionListGUI::ICON_CONFIG = "glyphicon glyphicon-cog" |
Definition at line 33 of file class.ilAdvancedSelectionListGUI.php.
Referenced by ilBlockGUI\fillHeaderCommands().
| const ilAdvancedSelectionListGUI::MODE_FORM_SELECT = "select" |
Definition at line 37 of file class.ilAdvancedSelectionListGUI.php.
| const ilAdvancedSelectionListGUI::MODE_LINKS = "links" |
Definition at line 36 of file class.ilAdvancedSelectionListGUI.php.
| const ilAdvancedSelectionListGUI::NO_ICON = "" |
Definition at line 34 of file class.ilAdvancedSelectionListGUI.php.
Referenced by ilNavigationHistoryGUI\getHTML().
| const ilAdvancedSelectionListGUI::ON_ITEM_CLICK_FORM_SELECT = "select" |
Definition at line 41 of file class.ilAdvancedSelectionListGUI.php.
Referenced by ilAdvSelectInputGUI\getAdvSelection().
| const ilAdvancedSelectionListGUI::ON_ITEM_CLICK_FORM_SUBMIT = "submit" |
Definition at line 40 of file class.ilAdvancedSelectionListGUI.php.
| const ilAdvancedSelectionListGUI::ON_ITEM_CLICK_HREF = "href" |
Definition at line 39 of file class.ilAdvancedSelectionListGUI.php.
| const ilAdvancedSelectionListGUI::ON_ITEM_CLICK_NOP = "nop" |
Definition at line 42 of file class.ilAdvancedSelectionListGUI.php.
| const ilAdvancedSelectionListGUI::STYLE_DEFAULT = 0 |
Definition at line 44 of file class.ilAdvancedSelectionListGUI.php.
| const ilAdvancedSelectionListGUI::STYLE_EMPH = 2 |
Definition at line 46 of file class.ilAdvancedSelectionListGUI.php.
Referenced by ilEmployeeTalkMyStaffListGUI\loadActionBar(), ilEmployeeTalkMyStaffUserGUI\loadActionBar(), and ilObjectAddNewItemGUI\render().
| const ilAdvancedSelectionListGUI::STYLE_LINK = 1 |
Definition at line 45 of file class.ilAdvancedSelectionListGUI.php.
Referenced by ilWikiFunctionsBlockGUI\getLegacyContent().
| const ilAdvancedSelectionListGUI::STYLE_LINK_BUTTON = 3 |
Definition at line 47 of file class.ilAdvancedSelectionListGUI.php.
Referenced by ilTable2GUI\fillFooter(), and ilBlockGUI\fillHeaderCommands().