ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
locator handling class More...
Public Member Functions | |
__construct () | |
Constructor. More... | |
setTextOnly ($a_textonly) | |
Set Only text, no HTML. More... | |
setOffline ($a_offline) | |
getOffline () | |
getTextOnly () | |
Get Only text, no HTML. More... | |
addRepositoryItems ($a_ref_id=0) | |
add repository item More... | |
addAdministrationItems ($a_ref_id=0) | |
add administration tree items More... | |
addContextItems ($a_ref_id, $a_omit_node=false, $a_stop=0) | |
addItem ($a_title, $a_link, $a_frame="", $a_ref_id=0, $type=null) | |
add locator item More... | |
clearItems () | |
Clear all Items. More... | |
getItems () | |
Get all locator entries. More... | |
getHTML () | |
Get locator HTML. More... | |
getTextVersion () | |
Get text version. More... | |
Protected Attributes | |
$tree | |
$ctrl | |
$obj_definition | |
$access | |
$settings | |
$lng | |
$entries | |
locator handling class
This class supplies an implementation for the locator. The locator will send its output to ist own frame, enabling more flexibility in the design of the desktop.
Definition at line 15 of file class.ilLocatorGUI.php.
ilLocatorGUI::__construct | ( | ) |
Constructor.
Definition at line 49 of file class.ilLocatorGUI.php.
References $DIC, $lng, array, setTextOnly(), and settings().
ilLocatorGUI::addAdministrationItems | ( | $a_ref_id = 0 | ) |
add administration tree items
int | $a_ref_id | current ref id (optional); if empty $_GET["ref_id"] is used |
Definition at line 148 of file class.ilLocatorGUI.php.
References $_GET, $ctrl, $ilCtrl, $key, $lng, $obj_definition, $path, $row, $tree, addItem(), and array.
ilLocatorGUI::addContextItems | ( | $a_ref_id, | |
$a_omit_node = false , |
|||
$a_stop = 0 |
|||
) |
Definition at line 185 of file class.ilLocatorGUI.php.
References $key, $path, $row, $tree, addItem(), and array.
ilLocatorGUI::addItem | ( | $a_title, | |
$a_link, | |||
$a_frame = "" , |
|||
$a_ref_id = 0 , |
|||
$type = null |
|||
) |
add locator item
string | $a_title | item title |
string | $a_link | item link |
string | $a_frame | frame target |
Definition at line 243 of file class.ilLocatorGUI.php.
References $access, $DIC, $type, and array.
Referenced by addAdministrationItems(), addContextItems(), and addRepositoryItems().
ilLocatorGUI::addRepositoryItems | ( | $a_ref_id = 0 | ) |
add repository item
int | $a_ref_id | current ref id (optional); if empty $_GET["ref_id"] is used |
Definition at line 102 of file class.ilLocatorGUI.php.
References $_GET, $ctrl, $ilCtrl, $key, $path, $row, $tree, ilFrameTargetInfo\_getFrame(), addItem(), array, and ilMemberViewSettings\getInstance().
ilLocatorGUI::clearItems | ( | ) |
ilLocatorGUI::getHTML | ( | ) |
Get locator HTML.
Definition at line 281 of file class.ilLocatorGUI.php.
References $DIC, $ilSetting, $lng, $settings, $type, ilObject\_getIcon(), ilObject\_lookupObjId(), ilObject\_lookupType(), getItems(), getOffline(), and getTextOnly().
ilLocatorGUI::getItems | ( | ) |
Get all locator entries.
Definition at line 273 of file class.ilLocatorGUI.php.
References $entries.
Referenced by getHTML(), and getTextVersion().
ilLocatorGUI::getOffline | ( | ) |
Definition at line 81 of file class.ilLocatorGUI.php.
Referenced by getHTML().
ilLocatorGUI::getTextOnly | ( | ) |
Get Only text, no HTML.
Definition at line 91 of file class.ilLocatorGUI.php.
Referenced by getHTML().
ilLocatorGUI::getTextVersion | ( | ) |
Get text version.
Definition at line 354 of file class.ilLocatorGUI.php.
References $ilSetting, $lng, $settings, and getItems().
ilLocatorGUI::setOffline | ( | $a_offline | ) |
Definition at line 76 of file class.ilLocatorGUI.php.
ilLocatorGUI::setTextOnly | ( | $a_textonly | ) |
Set Only text, no HTML.
boolean | $a_textonly | Only text, no HTML |
Definition at line 71 of file class.ilLocatorGUI.php.
Referenced by __construct().
|
protected |
Definition at line 35 of file class.ilLocatorGUI.php.
Referenced by addItem().
|
protected |
Definition at line 25 of file class.ilLocatorGUI.php.
Referenced by addAdministrationItems(), and addRepositoryItems().
|
protected |
Definition at line 43 of file class.ilLocatorGUI.php.
Referenced by getItems().
|
protected |
Definition at line 42 of file class.ilLocatorGUI.php.
Referenced by __construct(), addAdministrationItems(), getHTML(), and getTextVersion().
|
protected |
Definition at line 30 of file class.ilLocatorGUI.php.
Referenced by addAdministrationItems().
|
protected |
Definition at line 40 of file class.ilLocatorGUI.php.
Referenced by getHTML(), and getTextVersion().
|
protected |
Definition at line 20 of file class.ilLocatorGUI.php.
Referenced by addAdministrationItems(), addContextItems(), and addRepositoryItems().