ILIAS  eassessment Revision 61809
 All Data Structures Namespaces Files Functions Variables Groups Pages
ilAdvancedSelectionListGUI Class Reference

User interface class for advanced drop-down selection lists. More...

+ Collaboration diagram for ilAdvancedSelectionListGUI:

Public Member Functions

 __construct ()
 Constructor.
 setLinksMode ($a_link_class="")
 Set links mode (for no js fallback)
 setFormSelectMode ($a_select_name, $a_select_class="", $a_include_form_tag=false, $a_form_action="", $a_form_id="", $a_form_class="", $a_form_target="_top", $a_button_text="", $a_button_class="", $a_button_cmd="")
 Set form mode (for no js fallback)
 addItem ($a_title, $a_value="", $a_link="", $a_img="", $a_alt="", $a_frame="", $a_html="", $a_prevent_background_click=false)
 Add an item.
 getItems ()
 Get items.
 setListTitle ($a_listtitle)
 Set List Title.
 getListTitle ()
 Get List Title.
 setSelectionHeaderClass ($a_selectionheaderclass)
 Set Selection Header Class.
 getSelectionHeaderClass ()
 Get Selection Header Class.
 setHeaderIcon ($a_headericon)
 Set Header Icon.
 getHeaderIcon ()
 Get Header Icon.
 setNoJSLinkClass ($a_nojslinkclass)
 Set No Javascript Link Style Class.
 getNoJSLinkClass ()
 Get No Javascript Link Style Class.
 setItemLinkClass ($a_itemlinkclass)
 Set Item Link Class.
 getItemLinkClass ()
 Get Item Link Class.
 setId ($a_id)
 Set Id.
 getId ()
 Get Id.
 setUseImages ($a_useimages)
 Set Use Images.
 getUseImages ()
 Get Use Images.
 setAccessKey ($a_val)
 Set access key.
 getAccessKey ()
 Get access key.
 setOnClickMode ($a_val, $a_onclick_form_id="")
 Set "onClick"- Mode.
 getOnClickMode ()
 Get "onClick"-Mode.
 setSelectedValue ($a_val)
 Set selected value.
 getSelectedValue ()
 Get selected value.
 setAdditionalToggleElement ($a_el, $a_on)
 Set additional toggle element.
 getAdditionalToggleElement ()
 Get additional toggle element.
 setAsynch ($a_val)
 Set asynch mode (this is set to true, if list should get items asynchronously)
 getAsynch ()
 Get asynch mode.
 setAsynchUrl ($a_val)
 Set asynch url.
 getAsynchUrl ()
 Get asynch url.
 getHTML ($a_only_cmd_list_asynch=false)
 Get selection list HTML.

Data Fields

const DOWN_ARROW_LIGHT = "mm_down_arrow.gif"
const DOWN_ARROW_DARK = "mm_down_arrow_dark.gif"
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"

Protected Attributes

 $css_row = ""
 $access_key = false
 $toggle = false
 $asynch_url = false
 $selected_value = ""

Private Attributes

 $items = array()
 $id = "asl"
 $asynch = false

Detailed Description

User interface class for advanced drop-down selection lists.

Author
Alex Killing alex..nosp@m.kill.nosp@m.ing@g.nosp@m.mx.d.nosp@m.e
Version
$Id:$

Definition at line 11 of file class.ilAdvancedSelectionListGUI.php.

Constructor & Destructor Documentation

ilAdvancedSelectionListGUI::__construct ( )

Member Function Documentation

ilAdvancedSelectionListGUI::addItem (   $a_title,
  $a_value = "",
  $a_link = "",
  $a_img = "",
  $a_alt = "",
  $a_frame = "",
  $a_html = "",
  $a_prevent_background_click = false 
)

Add an item.

Parameters
stringitem title
stringvalue (used for select input)
linkhref for the item
stringimage href attribute
stringimage alt attribute
stringframe target
stringitem html (is used instead of title if js is active)

Definition at line 111 of file class.ilAdvancedSelectionListGUI.php.

{
$this->items[] = array("title" => $a_title, "value" => $a_value,
"link" => $a_link, "img" => $a_img, "alt" => $a_alt, "frame" => $a_frame,
"html" => $a_html, "prevent_background_click" => $a_prevent_background_click);
}
ilAdvancedSelectionListGUI::getAccessKey ( )

Get access key.

Returns
integer access key function id

Definition at line 284 of file class.ilAdvancedSelectionListGUI.php.

References $access_key.

Referenced by getHTML().

{
}

+ Here is the caller graph for this function:

ilAdvancedSelectionListGUI::getAdditionalToggleElement ( )

Get additional toggle element.

Returns
array

Definition at line 351 of file class.ilAdvancedSelectionListGUI.php.

References $toggle.

Referenced by getHTML().

{
return $this->toggle;
}

+ Here is the caller graph for this function:

ilAdvancedSelectionListGUI::getAsynch ( )

Get asynch mode.

Returns
boolean turn asynch mode on/off

Definition at line 376 of file class.ilAdvancedSelectionListGUI.php.

References $asynch.

Referenced by getHTML().

{
return $this->asynch;
}

+ Here is the caller graph for this function:

ilAdvancedSelectionListGUI::getAsynchUrl ( )

Get asynch url.

Returns
string asynch url

Definition at line 396 of file class.ilAdvancedSelectionListGUI.php.

References $asynch_url.

Referenced by getHTML().

{
}

+ Here is the caller graph for this function:

ilAdvancedSelectionListGUI::getHeaderIcon ( )

Get Header Icon.

Returns
string Header Icon

Definition at line 184 of file class.ilAdvancedSelectionListGUI.php.

Referenced by getHTML().

{
return $this->headericon;
}

+ Here is the caller graph for this function:

ilAdvancedSelectionListGUI::getHTML (   $a_only_cmd_list_asynch = false)

Get selection list HTML.

Definition at line 404 of file class.ilAdvancedSelectionListGUI.php.

References $GLOBALS, $items, $toggle, $tpl, DOWN_ARROW_DARK, DOWN_ARROW_LIGHT, ilJsonUtil\encode(), getAccessKey(), getAdditionalToggleElement(), getAsynch(), getAsynchUrl(), ilAccessKeyGUI\getAttribute(), getHeaderIcon(), getId(), ilUtil\getImagePath(), getItemLinkClass(), getItems(), getListTitle(), getOnClickMode(), getSelectedValue(), getSelectionHeaderClass(), getUseImages(), ilYuiUtil\initOverlay(), MODE_FORM_SELECT, MODE_LINKS, NO_ICON, ON_ITEM_CLICK_FORM_SELECT, ON_ITEM_CLICK_FORM_SUBMIT, and ON_ITEM_CLICK_HREF.

{
$items = $this->getItems();
// do not show list, if no item is in list
if (count($items) == 0 && !$this->getAsynch())
{
return "";
}
include_once("./Services/YUI/classes/class.ilYuiUtil.php");
$GLOBALS["tpl"]->addJavascript("./Services/UIComponent/Overlay/js/ilOverlay.js");
$GLOBALS["tpl"]->addJavascript("./Services/UIComponent/AdvancedSelectionList/js/AdvancedSelectionList.js");
$tpl = new ilTemplate("tpl.adv_selection_list.html", true, true,
"Services/UIComponent/AdvancedSelectionList", "DEFAULT", false, true);
reset($items);
$cnt = 0;
if ($this->getAsynch())
{
$tpl->setCurrentBlock("asynch_request");
$tpl->setVariable("IMG_LOADER", ilUtil::getImagePath("loader.gif"));
$tpl->parseCurrentBlock();
}
else
{
foreach($items as $item)
{
if (isset($item["ref_id"]))
{
$sel_arr[$item["ref_id"]] = (isset($item["title"]))
? $item["title"]
: "";
}
$this->css_row = ($this->css_row != "tblrow1_mo")
? "tblrow1_mo"
: "tblrow2_mo";
if ($this->getUseImages())
{
if ($item["img"])
{
$tpl->setCurrentBlock("image");
$tpl->setVariable("IMG_ITEM", $item["img"]);
$tpl->setVariable("ALT_ITEM", $item["alt"]);
$tpl->parseCurrentBlock();
}
else
{
$tpl->touchBlock("no_image");
}
}
if ($item["frame"])
{
$tpl->setCurrentBlock("frame");
$tpl->setVariable("TARGET_ITEM", $item["frame"]);
$tpl->parseCurrentBlock();
}
if ($this->getItemLinkClass() != "")
{
$tpl->setCurrentBlock("item_link_class");
$tpl->setVariable("ITEM_LINK_CLASS", $this->getItemLinkClass());
$tpl->parseCurrentBlock();
}
$tpl->setCurrentBlock("item");
if ($this->getOnClickMode() ==
{
//var_dump($item);
if ($item["prevent_background_click"])
{
$tpl->setVariable("ONCLICK_ITEM",'');
}
else
{
$tpl->setVariable("ONCLICK_ITEM",
'onclick="'."return ilAdvancedSelectionList.openTarget('".$item["link"]."','".$item["frame"]."');".'"');
}
$tpl->setVariable("HREF_ITEM",'href="'.$item["link"].'"');
$tpl->setVariable("ID_ITEM", $this->getId()."_".$item["value"]);
}
else if ($this->getOnClickMode() ==
{
$tpl->setVariable("ONCLICK_ITEM",
'onclick="ilAdvancedSelectionList.submitForm(\''.$this->getId().'\''.
", '".$this->form_mode["select_name"]."','".$item["value"]."',".
"'".$this->on_click_form_id."','".$this->form_mode["button_cmd"]."');\"");
}
else if ($this->getOnClickMode() ==
{
$tpl->setVariable("ONCLICK_ITEM",
'onclick="ilAdvancedSelectionList.selectForm(\''.$this->getId().'\''.
", '".$this->form_mode["select_name"]."','".$item["value"]."',".
"'".$item["title"]."');\"");
}
$tpl->setVariable("CSS_ROW", $this->css_row);
if ($item["html"] == "")
{
$tpl->setVariable("TXT_ITEM", $item["title"]);
}
else
{
$tpl->setVariable("TXT_ITEM", $item["html"]);
}
$tpl->parseCurrentBlock();
}
}
$tpl->setCurrentBlock("cmd_table");
$tpl->parseCurrentBlock();
if ($a_only_cmd_list_asynch)
{
return $tpl->get("cmd_table");
}
{
$tpl->setCurrentBlock("top_img");
switch ($this->getHeaderIcon())
{
$tpl->setVariable("IMG_DOWN",
break;
$tpl->setVariable("IMG_DOWN",
break;
default:
$tpl->setVariable("IMG_DOWN", $this->getHeaderIcon());
break;
}
// do not repeat title (accessibility) -> empty alt
//$tpl->setVariable("ALT_SEL_TOP", $this->getListTitle());
$tpl->setVariable("ALT_SEL_TOP", "");
$tpl->parseCurrentBlock();
}
// output hidden input, if click mode is form submission
{
$tpl->setCurrentBlock("hidden_input");
$tpl->setVariable("HID", $this->getId());
$tpl->parseCurrentBlock();
}
// output hidden input and initialize
{
$tpl->setCurrentBlock("hidden_input");
$tpl->setVariable("HID", $this->getId());
$tpl->parseCurrentBlock();
// init hidden input with selected value
$tpl->setCurrentBlock("init_hidden_input");
$tpl->setVariable("H2ID", $this->getId());
$tpl->setVariable("HID_NAME", $this->form_mode["select_name"]);
$tpl->setVariable("HID_VALUE", $this->getSelectedValue());
$tpl->parseCurrentBlock();
}
// js section
$tpl->setCurrentBlock("js_section");
if ($this->getAccessKey() > 0)
{
include_once("./Services/Accessibility/classes/class.ilAccessKeyGUI.php");
$tpl->setVariable("ACCKEY", ilAccessKeyGUI::getAttribute($this->getAccessKey()));
}
$cfg["anchor_id"] = "ilAdvSelListAnchorElement_".$this->getId();
$cfg["asynch"] = $this->getAsynch()
? true
: false;
$cfg["asynch_url"] = $this->getAsynchUrl();
if (is_array($toggle))
{
$cfg["toggle_el"] = $toggle["el"];
$cfg["toggle_class_on"] = $toggle["class_on"];
}
//echo "<br>".htmlentities($this->getAsynchUrl());
include_once("./Services/JSON/classes/class.ilJsonUtil.php");
$tpl->setVariable("TXT_SEL_TOP", $this->getListTitle());
$tpl->setVariable("ID", $this->getId());
$tpl->setVariable("CFG", ilJsonUtil::encode($cfg));
//echo htmlentities(ilJsonUtil::encode($cfg));
$tpl->setVariable("CLASS_SEL_TOP", $this->getSelectionHeaderClass());
$tpl->parseCurrentBlock();
// no js sections
switch ($this->mode)
{
// links mode
reset($items);
$cnt = 0;
foreach($items as $item)
{
$tpl->setCurrentBlock("no_js_link");
$tpl->setVariable("LINKS_CLASS", $this->links_mode["link_class"]);
$tpl->setVariable("LINKS_HREF", $item["link"]);
$tpl->setVariable("LINKS_TXT", $item["title"]);
$tpl->parseCurrentBlock();
$tpl->setCurrentBlock("no_js_section");
$tpl->parseCurrentBlock();
}
break;
reset($items);
$cnt = 0;
foreach($items as $item)
{
$tpl->setCurrentBlock("no_js_form_option");
$tpl->setVariable("FRM_OPTION_TXT", $item["title"]);
$tpl->setVariable("FRM_OPTION_VAL", $item["value"]);
if ($this->getSelectedValue() == $item["value"])
{
$tpl->setVariable("SELECTED", ' selected="selected" ');
}
$tpl->parseCurrentBlock();
}
if ($this->form_mode["include_form_tag"])
{
$tpl->setCurrentBlock("no_js_form_begin");
$tpl->setVariable("FRM_ID", $this->form_mode["form_id"]);
$tpl->setVariable("FRM_CLASS", $this->form_mode["form_class"]);
$tpl->setVariable("FRM_ACTION", $this->form_mode["form_action"]);
$tpl->setVariable("FRM_TARGET", $this->form_mode["form_target"]);
$tpl->parseCurrentBlock();
$tpl->touchBlock("no_js_form_end");
}
if ($this->form_mode["button_text"])
{
$tpl->setCurrentBlock("no_js_form_button");
$tpl->setVariable("FRM_BT_TXT", $this->form_mode["button_text"]);
$tpl->setVariable("FRM_BT_CLASS", $this->form_mode["button_class"]);
if ($this->form_mode["button_cmd"] != "")
{
$tpl->setVariable("FRM_BT_CMD", 'name="cmd['.$this->form_mode["button_cmd"].']"');
}
$tpl->parseCurrentBlock();
}
$tpl->setVariable("FRM_SELECT_NAME", $this->form_mode["select_name"]);
$tpl->setVariable("FRM_SELECT_CLASS", $this->form_mode["select_class"]);
if ($this->getAccessKey() > 0)
{
include_once("./Services/Accessibility/classes/class.ilAccessKeyGUI.php");
$tpl->setVariable("ACCKEYNJS", ilAccessKeyGUI::getAttribute($this->getAccessKey()));
}
$tpl->setCurrentBlock("no_js_section");
$tpl->parseCurrentBlock();
break;
}
return $tpl->get();
}

+ Here is the call graph for this function:

ilAdvancedSelectionListGUI::getId ( )

Get Id.

Returns
string Id

Definition at line 244 of file class.ilAdvancedSelectionListGUI.php.

References $id.

Referenced by getHTML().

{
return $this->id;
}

+ Here is the caller graph for this function:

ilAdvancedSelectionListGUI::getItemLinkClass ( )

Get Item Link Class.

Returns
string Item Link Class

Definition at line 224 of file class.ilAdvancedSelectionListGUI.php.

Referenced by getHTML().

{
return $this->itemlinkclass;
}

+ Here is the caller graph for this function:

ilAdvancedSelectionListGUI::getItems ( )

Get items.

Returns
array array of items

Definition at line 124 of file class.ilAdvancedSelectionListGUI.php.

References $items.

Referenced by getHTML().

{
return $this->items;
}

+ Here is the caller graph for this function:

ilAdvancedSelectionListGUI::getListTitle ( )

Get List Title.

Returns
string List Title

Definition at line 144 of file class.ilAdvancedSelectionListGUI.php.

Referenced by getHTML().

{
return $this->listtitle;
}

+ Here is the caller graph for this function:

ilAdvancedSelectionListGUI::getNoJSLinkClass ( )

Get No Javascript Link Style Class.

Returns
string No Javascript Link Style Class

Definition at line 204 of file class.ilAdvancedSelectionListGUI.php.

{
return $this->nojslinkclass;
}
ilAdvancedSelectionListGUI::getOnClickMode ( )

Get "onClick"-Mode.

Returns

Definition at line 310 of file class.ilAdvancedSelectionListGUI.php.

Referenced by getHTML().

{
return $this->on_click;
}

+ Here is the caller graph for this function:

ilAdvancedSelectionListGUI::getSelectedValue ( )

Get selected value.

Returns
string selected value

Definition at line 330 of file class.ilAdvancedSelectionListGUI.php.

References $selected_value.

Referenced by getHTML().

{
}

+ Here is the caller graph for this function:

ilAdvancedSelectionListGUI::getSelectionHeaderClass ( )

Get Selection Header Class.

Returns
string Selection Header Class

Definition at line 164 of file class.ilAdvancedSelectionListGUI.php.

Referenced by getHTML().

{
return $this->selectionheaderclass;
}

+ Here is the caller graph for this function:

ilAdvancedSelectionListGUI::getUseImages ( )

Get Use Images.

Returns
boolean Use Images

Definition at line 264 of file class.ilAdvancedSelectionListGUI.php.

Referenced by getHTML().

{
return $this->useimages;
}

+ Here is the caller graph for this function:

ilAdvancedSelectionListGUI::setAccessKey (   $a_val)

Set access key.

Parameters
integeraccess function id

Definition at line 274 of file class.ilAdvancedSelectionListGUI.php.

{
$this->access_key = $a_val;
}
ilAdvancedSelectionListGUI::setAdditionalToggleElement (   $a_el,
  $a_on 
)

Set additional toggle element.

Parameters
stringelement id
stringclass for "on"

Definition at line 341 of file class.ilAdvancedSelectionListGUI.php.

{
$this->toggle = array("el" => $a_el, "class_on" => $a_on);
}
ilAdvancedSelectionListGUI::setAsynch (   $a_val)

Set asynch mode (this is set to true, if list should get items asynchronously)

Parameters
booleanturn asynch mode on/off

Definition at line 361 of file class.ilAdvancedSelectionListGUI.php.

References ilYuiUtil\initConnection().

{
if ($a_val)
{
include_once("./Services/YUI/classes/class.ilYuiUtil.php");
}
$this->asynch = $a_val;
}

+ Here is the call graph for this function:

ilAdvancedSelectionListGUI::setAsynchUrl (   $a_val)

Set asynch url.

Parameters
stringasynch url

Definition at line 386 of file class.ilAdvancedSelectionListGUI.php.

{
$this->asynch_url = $a_val;
}
ilAdvancedSelectionListGUI::setFormSelectMode (   $a_select_name,
  $a_select_class = "",
  $a_include_form_tag = false,
  $a_form_action = "",
  $a_form_id = "",
  $a_form_class = "",
  $a_form_target = "_top",
  $a_button_text = "",
  $a_button_class = "",
  $a_button_cmd = "" 
)

Set form mode (for no js fallback)

Outputs form selection including sourrounding form

Definition at line 80 of file class.ilAdvancedSelectionListGUI.php.

References MODE_FORM_SELECT.

{
$this->form_mode = array(
"select_name" => $a_select_name,
"select_class" => $a_select_class,
"include_form_tag" => $a_include_form_tag,
"form_action" => $a_form_action,
"form_id" => $a_form_id,
"form_class" => $a_form_class,
"form_target" => $a_form_target,
"button_text" => $a_button_text,
"button_class" => $a_button_class,
"button_cmd" => $a_button_cmd
);
}
ilAdvancedSelectionListGUI::setHeaderIcon (   $a_headericon)

Set Header Icon.

Parameters
string$a_headericonHeader Icon

Definition at line 174 of file class.ilAdvancedSelectionListGUI.php.

Referenced by __construct().

{
$this->headericon = $a_headericon;
}

+ Here is the caller graph for this function:

ilAdvancedSelectionListGUI::setId (   $a_id)

Set Id.

Parameters
string$a_idId

Definition at line 234 of file class.ilAdvancedSelectionListGUI.php.

{
$this->id = $a_id;
}
ilAdvancedSelectionListGUI::setItemLinkClass (   $a_itemlinkclass)

Set Item Link Class.

Parameters
string$a_itemlinkclassItem Link Class

Definition at line 214 of file class.ilAdvancedSelectionListGUI.php.

{
$this->itemlinkclass = $a_itemlinkclass;
}
ilAdvancedSelectionListGUI::setLinksMode (   $a_link_class = "")

Set links mode (for no js fallback)

Definition at line 68 of file class.ilAdvancedSelectionListGUI.php.

References MODE_LINKS.

{
$this->links_mode = array(
"link_class" => $a_link_class);
}
ilAdvancedSelectionListGUI::setListTitle (   $a_listtitle)

Set List Title.

Parameters
string$a_listtitleList Title

Definition at line 134 of file class.ilAdvancedSelectionListGUI.php.

{
$this->listtitle = $a_listtitle;
}
ilAdvancedSelectionListGUI::setNoJSLinkClass (   $a_nojslinkclass)

Set No Javascript Link Style Class.

Parameters
string$a_nojslinkclassNo Javascript Link Style Class

Definition at line 194 of file class.ilAdvancedSelectionListGUI.php.

{
$this->nojslinkclass = $a_nojslinkclass;
}
ilAdvancedSelectionListGUI::setOnClickMode (   $a_val,
  $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

Parameters
stringmode

Definition at line 299 of file class.ilAdvancedSelectionListGUI.php.

Referenced by __construct().

{
$this->on_click = $a_val;
$this->on_click_form_id = $a_onclick_form_id;
}

+ Here is the caller graph for this function:

ilAdvancedSelectionListGUI::setSelectedValue (   $a_val)

Set selected value.

Parameters
stringselected value

Definition at line 320 of file class.ilAdvancedSelectionListGUI.php.

{
$this->selected_value = $a_val;
}
ilAdvancedSelectionListGUI::setSelectionHeaderClass (   $a_selectionheaderclass)

Set Selection Header Class.

Parameters
string$a_selectionheaderclassSelection Header Class

Definition at line 154 of file class.ilAdvancedSelectionListGUI.php.

{
$this->selectionheaderclass = $a_selectionheaderclass;
}
ilAdvancedSelectionListGUI::setUseImages (   $a_useimages)

Set Use Images.

Parameters
boolean$a_useimagesUse Images

Definition at line 254 of file class.ilAdvancedSelectionListGUI.php.

{
$this->useimages = $a_useimages;
}

Field Documentation

ilAdvancedSelectionListGUI::$access_key = false
protected

Definition at line 29 of file class.ilAdvancedSelectionListGUI.php.

Referenced by getAccessKey().

ilAdvancedSelectionListGUI::$asynch = false
private

Definition at line 15 of file class.ilAdvancedSelectionListGUI.php.

Referenced by getAsynch().

ilAdvancedSelectionListGUI::$asynch_url = false
protected

Definition at line 31 of file class.ilAdvancedSelectionListGUI.php.

Referenced by getAsynchUrl().

ilAdvancedSelectionListGUI::$css_row = ""
protected

Definition at line 28 of file class.ilAdvancedSelectionListGUI.php.

ilAdvancedSelectionListGUI::$id = "asl"
private

Definition at line 14 of file class.ilAdvancedSelectionListGUI.php.

Referenced by getId().

ilAdvancedSelectionListGUI::$items = array()
private

Definition at line 13 of file class.ilAdvancedSelectionListGUI.php.

Referenced by getHTML(), and getItems().

ilAdvancedSelectionListGUI::$selected_value = ""
protected

Definition at line 32 of file class.ilAdvancedSelectionListGUI.php.

Referenced by getSelectedValue().

ilAdvancedSelectionListGUI::$toggle = false
protected

Definition at line 30 of file class.ilAdvancedSelectionListGUI.php.

Referenced by getAdditionalToggleElement(), and getHTML().

const ilAdvancedSelectionListGUI::DOWN_ARROW_DARK = "mm_down_arrow_dark.gif"
const ilAdvancedSelectionListGUI::DOWN_ARROW_LIGHT = "mm_down_arrow.gif"

Definition at line 17 of file class.ilAdvancedSelectionListGUI.php.

Referenced by getHTML().

const ilAdvancedSelectionListGUI::MODE_FORM_SELECT = "select"

Definition at line 22 of file class.ilAdvancedSelectionListGUI.php.

Referenced by getHTML(), and setFormSelectMode().

const ilAdvancedSelectionListGUI::MODE_LINKS = "links"

Definition at line 21 of file class.ilAdvancedSelectionListGUI.php.

Referenced by __construct(), getHTML(), and setLinksMode().

const ilAdvancedSelectionListGUI::NO_ICON = ""

Definition at line 19 of file class.ilAdvancedSelectionListGUI.php.

Referenced by ilNavigationHistoryGUI\getHTML(), and getHTML().

const ilAdvancedSelectionListGUI::ON_ITEM_CLICK_FORM_SELECT = "select"
const ilAdvancedSelectionListGUI::ON_ITEM_CLICK_FORM_SUBMIT = "submit"

Definition at line 25 of file class.ilAdvancedSelectionListGUI.php.

Referenced by ilTemplate\fillAdminPanel(), and getHTML().

const ilAdvancedSelectionListGUI::ON_ITEM_CLICK_HREF = "href"

Definition at line 24 of file class.ilAdvancedSelectionListGUI.php.

Referenced by __construct(), and getHTML().


The documentation for this class was generated from the following file: