ILIAS
Release_4_4_x_branch Revision 61816
|
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. | |
getTextVersion () | |
Get text version. |
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 15 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 120 of file class.ilLocatorGUI.php.
References $_GET, $ilCtrl, $lng, $path, $row, and addItem().
ilLocatorGUI::addContextItems | ( | $a_ref_id, | |
$a_omit_node = false , |
|||
$a_stop = 0 |
|||
) |
Definition at line 155 of file class.ilLocatorGUI.php.
References $path, $row, and 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 218 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 70 of file class.ilLocatorGUI.php.
References $_GET, $ilCtrl, $path, $row, ilFrameTargetInfo\_getFrame(), addItem(), and ilMemberViewSettings\getInstance().
ilLocatorGUI::clearItems | ( | ) |
Clear all Items.
Definition at line 234 of file class.ilLocatorGUI.php.
ilLocatorGUI::getHTML | ( | ) |
Get locator HTML.
Definition at line 250 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 242 of file class.ilLocatorGUI.php.
References $entries.
Referenced by getHTML(), and getTextVersion().
ilLocatorGUI::getOffline | ( | ) |
Definition at line 49 of file class.ilLocatorGUI.php.
Referenced by getHTML().
ilLocatorGUI::getTextOnly | ( | ) |
Get Only text, no HTML.
Definition at line 59 of file class.ilLocatorGUI.php.
Referenced by getHTML().
ilLocatorGUI::getTextVersion | ( | ) |
Get text version.
Definition at line 325 of file class.ilLocatorGUI.php.
References $ilSetting, $lng, and getItems().
ilLocatorGUI::ilLocatorGUI | ( | ) |
Constructor.
Definition at line 24 of file class.ilLocatorGUI.php.
References $lng, and setTextOnly().
ilLocatorGUI::setOffline | ( | $a_offline | ) |
Definition at line 44 of file class.ilLocatorGUI.php.
ilLocatorGUI::setTextOnly | ( | $a_textonly | ) |
Set Only text, no HTML.
boolean | $a_textonly | Only text, no HTML |
Definition at line 39 of file class.ilLocatorGUI.php.
Referenced by ilLocatorGUI().
|
protected |
Definition at line 18 of file class.ilLocatorGUI.php.
Referenced by getItems().
|
protected |
Definition at line 17 of file class.ilLocatorGUI.php.
Referenced by addAdministrationItems(), getHTML(), getTextVersion(), and ilLocatorGUI().