ILIAS
Release_3_10_x_branch Revision 61812
|
locator handling class More...
Public Member Functions | |
ilLocatorGUI () | |
Constructor. | |
setTextOnly ($a_textonly) | |
Set Only text, no HTML. | |
setOffline ($a_offline) | |
getOffline () | |
getTextOnly () | |
Get Only text, no HTML. | |
addRepositoryItems ($a_ref_id=0) | |
add repository item | |
addAdministrationItems ($a_ref_id=0) | |
add administration tree items | |
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 | |
clearItems () | |
Clear all Items. | |
getItems () | |
Get all locator entries. | |
getHTML () | |
Get locator HTML. |
Protected Attributes | |
$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 35 of file class.ilLocatorGUI.php.
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 134 of file class.ilLocatorGUI.php.
References $_GET, $ilCtrl, $lng, and addItem().
ilLocatorGUI::addContextItems | ( | $a_ref_id, | |
$a_omit_node = false , |
|||
$a_stop = 0 |
|||
) |
Definition at line 169 of file class.ilLocatorGUI.php.
References addItem().
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 232 of file class.ilLocatorGUI.php.
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 90 of file class.ilLocatorGUI.php.
References $_GET, ilFrameTargetInfo\_getFrame(), and addItem().
ilLocatorGUI::clearItems | ( | ) |
Clear all Items.
Definition at line 241 of file class.ilLocatorGUI.php.
ilLocatorGUI::getHTML | ( | ) |
Get locator HTML.
Definition at line 257 of file class.ilLocatorGUI.php.
References $ilSetting, $lng, ilObject\_getIcon(), ilObject\_lookupObjId(), ilObject\_lookupType(), getItems(), getOffline(), and getTextOnly().
ilLocatorGUI::getItems | ( | ) |
Get all locator entries.
Definition at line 249 of file class.ilLocatorGUI.php.
References $entries.
Referenced by getHTML().
ilLocatorGUI::getOffline | ( | ) |
Definition at line 69 of file class.ilLocatorGUI.php.
Referenced by getHTML().
ilLocatorGUI::getTextOnly | ( | ) |
Get Only text, no HTML.
Definition at line 79 of file class.ilLocatorGUI.php.
Referenced by getHTML().
ilLocatorGUI::ilLocatorGUI | ( | ) |
Constructor.
Definition at line 44 of file class.ilLocatorGUI.php.
References $lng, and setTextOnly().
ilLocatorGUI::setOffline | ( | $a_offline | ) |
Definition at line 64 of file class.ilLocatorGUI.php.
ilLocatorGUI::setTextOnly | ( | $a_textonly | ) |
Set Only text, no HTML.
boolean | $a_textonly | Only text, no HTML |
Definition at line 59 of file class.ilLocatorGUI.php.
Referenced by ilLocatorGUI().
|
protected |
Definition at line 38 of file class.ilLocatorGUI.php.
Referenced by getItems().
|
protected |
Definition at line 37 of file class.ilLocatorGUI.php.
Referenced by addAdministrationItems(), getHTML(), and ilLocatorGUI().