ILIAS
trunk Revision v11.0_alpha-1744-gb0451eebef4
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
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 () | |
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 |
array | select_class |
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.
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.
References $toggle.
Referenced by getHTML().
ilAdvancedSelectionListGUI::getAriaListTitle | ( | ) |
Definition at line 232 of file class.ilAdvancedSelectionListGUI.php.
Referenced by getHTML().
ilAdvancedSelectionListGUI::getAsynch | ( | ) |
Definition at line 404 of file class.ilAdvancedSelectionListGUI.php.
References $asynch.
Referenced by getHTML(), and getOnloadCode().
ilAdvancedSelectionListGUI::getAsynchUrl | ( | ) |
Definition at line 414 of file class.ilAdvancedSelectionListGUI.php.
References $asynch_url.
Referenced by getHTML().
ilAdvancedSelectionListGUI::getAutoHide | ( | ) |
Definition at line 342 of file class.ilAdvancedSelectionListGUI.php.
References $auto_hide.
Referenced by getHTML().
ilAdvancedSelectionListGUI::getGroupedList | ( | ) |
Definition at line 202 of file class.ilAdvancedSelectionListGUI.php.
References $grouped_list.
Referenced by getHTML(), and getOnloadCode().
ilAdvancedSelectionListGUI::getHeaderIcon | ( | ) |
Definition at line 282 of file class.ilAdvancedSelectionListGUI.php.
References $headericon.
Referenced by getHTML().
ilAdvancedSelectionListGUI::getHTML | ( | bool | $a_only_cmd_list_asynch = false | ) |
Definition at line 444 of file class.ilAdvancedSelectionListGUI.php.
References getAdditionalToggleElement(), getAriaListTitle(), getAsynch(), getAsynchUrl(), getAutoHide(), getGroupedList(), getHeaderIcon(), getId(), ilUtil\getImagePath(), getItemLinkClass(), getItems(), getJSTemplate(), getListTitle(), getOnClickMode(), getOnloadCode(), getPullRight(), getSelectCallback(), getSelectedValue(), getSelectionHeaderSpanClass(), getStyle(), getTriggerEvent(), getUseImages(), ILIAS\Repository\lng(), null, ilLegacyFormElementsUtil\prepareFormOutput(), and renderer().
Referenced by getToolbarHTML().
ilAdvancedSelectionListGUI::getId | ( | ) |
Definition at line 312 of file class.ilAdvancedSelectionListGUI.php.
References $id.
Referenced by getHTML(), and getOnloadCode().
ilAdvancedSelectionListGUI::getItemLinkClass | ( | ) |
Definition at line 302 of file class.ilAdvancedSelectionListGUI.php.
References $itemlinkclass.
Referenced by getHTML().
ilAdvancedSelectionListGUI::getItems | ( | ) |
Definition at line 212 of file class.ilAdvancedSelectionListGUI.php.
References $items.
Referenced by getHTML(), and getOnloadCode().
|
protected |
Definition at line 736 of file class.ilAdvancedSelectionListGUI.php.
Referenced by getHTML(), and getOnloadCode().
ilAdvancedSelectionListGUI::getListTitle | ( | ) |
Definition at line 222 of file class.ilAdvancedSelectionListGUI.php.
References $listtitle.
Referenced by getHTML().
ilAdvancedSelectionListGUI::getNoJSLinkClass | ( | ) |
Definition at line 292 of file class.ilAdvancedSelectionListGUI.php.
References $nojslinkclass.
ilAdvancedSelectionListGUI::getOnClickMode | ( | ) |
Definition at line 363 of file class.ilAdvancedSelectionListGUI.php.
References $on_click.
Referenced by getHTML(), and getOnloadCode().
ilAdvancedSelectionListGUI::getOnloadCode | ( | ) |
Definition at line 749 of file class.ilAdvancedSelectionListGUI.php.
References getAsynch(), getGroupedList(), getId(), getItems(), getJSTemplate(), getOnClickMode(), getSelectedValue(), and null.
Referenced by getHTML().
ilAdvancedSelectionListGUI::getPullRight | ( | ) |
Definition at line 434 of file class.ilAdvancedSelectionListGUI.php.
References $dd_pullright.
Referenced by getHTML().
ilAdvancedSelectionListGUI::getSelectCallback | ( | ) |
Definition at line 424 of file class.ilAdvancedSelectionListGUI.php.
References $select_callback.
Referenced by getHTML().
ilAdvancedSelectionListGUI::getSelectedValue | ( | ) |
Definition at line 373 of file class.ilAdvancedSelectionListGUI.php.
References $selected_value.
Referenced by getHTML(), and getOnloadCode().
ilAdvancedSelectionListGUI::getSelectionHeaderClass | ( | ) |
Definition at line 246 of file class.ilAdvancedSelectionListGUI.php.
References $selectionheaderclass.
ilAdvancedSelectionListGUI::getSelectionHeaderSpanClass | ( | ) |
Definition at line 272 of file class.ilAdvancedSelectionListGUI.php.
References $sel_head_span_class.
Referenced by getHTML().
ilAdvancedSelectionListGUI::getStyle | ( | ) |
Definition at line 262 of file class.ilAdvancedSelectionListGUI.php.
References $style.
Referenced by getHTML().
ilAdvancedSelectionListGUI::getToolbarHTML | ( | ) |
Get input item HTML to be inserted into ilToolbarGUI.
Implements ilToolbarItem.
Definition at line 439 of file class.ilAdvancedSelectionListGUI.php.
References getHTML().
ilAdvancedSelectionListGUI::getTriggerEvent | ( | ) |
Definition at line 332 of file class.ilAdvancedSelectionListGUI.php.
References $trigger_event.
Referenced by getHTML().
ilAdvancedSelectionListGUI::getUseImages | ( | ) |
Definition at line 322 of file class.ilAdvancedSelectionListGUI.php.
References $useimages.
Referenced by getHTML().
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().
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.
Referenced by getAsynch().
|
protected |
Definition at line 52 of file class.ilAdvancedSelectionListGUI.php.
Referenced by getAsynchUrl().
|
protected |
Definition at line 55 of file class.ilAdvancedSelectionListGUI.php.
Referenced by getAutoHide().
|
protected |
Definition at line 49 of file class.ilAdvancedSelectionListGUI.php.
|
private |
Definition at line 58 of file class.ilAdvancedSelectionListGUI.php.
Referenced by getPullRight().
|
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.
Referenced by getGroupedList().
|
protected |
Definition at line 67 of file class.ilAdvancedSelectionListGUI.php.
Referenced by getHeaderIcon().
|
private |
Definition at line 28 of file class.ilAdvancedSelectionListGUI.php.
Referenced by getId().
|
protected |
Definition at line 63 of file class.ilAdvancedSelectionListGUI.php.
Referenced by getItemLinkClass().
|
private |
Definition at line 27 of file class.ilAdvancedSelectionListGUI.php.
Referenced by getItems().
|
protected |
Definition at line 65 of file class.ilAdvancedSelectionListGUI.php.
|
protected |
Definition at line 60 of file class.ilAdvancedSelectionListGUI.php.
Referenced by getListTitle().
|
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.
Referenced by getNoJSLinkClass().
|
protected |
Definition at line 69 of file class.ilAdvancedSelectionListGUI.php.
Referenced by getOnClickMode().
|
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.
Referenced by getSelectionHeaderSpanClass().
|
protected |
Definition at line 85 of file class.ilAdvancedSelectionListGUI.php.
Referenced by getSelectCallback().
|
protected |
Definition at line 53 of file class.ilAdvancedSelectionListGUI.php.
Referenced by getSelectedValue().
|
protected |
Definition at line 66 of file class.ilAdvancedSelectionListGUI.php.
Referenced by getSelectionHeaderClass().
|
protected |
Definition at line 57 of file class.ilAdvancedSelectionListGUI.php.
Referenced by getStyle().
|
protected |
Definition at line 51 of file class.ilAdvancedSelectionListGUI.php.
Referenced by getAdditionalToggleElement().
|
protected |
Definition at line 54 of file class.ilAdvancedSelectionListGUI.php.
Referenced by getTriggerEvent().
|
protected |
Definition at line 62 of file class.ilAdvancedSelectionListGUI.php.
Referenced by getUseImages().
const ilAdvancedSelectionListGUI::DOWN_ARROW_DARK = "down_arrow_dark" |
Definition at line 31 of file class.ilAdvancedSelectionListGUI.php.
Referenced by ilAdvSelectInputGUI\getAdvSelection().
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.
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.
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.
array ilAdvancedSelectionListGUI::select_class |
Definition at line 74 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.
const ilAdvancedSelectionListGUI::STYLE_LINK = 1 |
Definition at line 45 of file class.ilAdvancedSelectionListGUI.php.
const ilAdvancedSelectionListGUI::STYLE_LINK_BUTTON = 3 |
Definition at line 47 of file class.ilAdvancedSelectionListGUI.php.