ILIAS
Release_4_0_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. |
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 124 of file class.ilLocatorGUI.php.
References $_GET, $ilCtrl, $key, $lng, $row, and addItem().
ilLocatorGUI::addContextItems | ( | $a_ref_id, | |
$a_omit_node = false , |
|||
$a_stop = 0 |
|||
) |
Definition at line 159 of file class.ilLocatorGUI.php.
References $key, $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 222 of file class.ilLocatorGUI.php.
References $type.
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, $key, $row, ilFrameTargetInfo\_getFrame(), addItem(), and ilMemberViewSettings\getInstance().
ilLocatorGUI::clearItems | ( | ) |
Clear all Items.
Definition at line 231 of file class.ilLocatorGUI.php.
ilLocatorGUI::getHTML | ( | ) |
Get locator HTML.
Definition at line 247 of file class.ilLocatorGUI.php.
References $ilSetting, $lng, $type, ilObject\_getIcon(), ilObject\_lookupObjId(), ilObject\_lookupType(), getItems(), getOffline(), and getTextOnly().
ilLocatorGUI::getItems | ( | ) |
Get all locator entries.
Definition at line 239 of file class.ilLocatorGUI.php.
References $entries.
Referenced by getHTML().
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::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(), and ilLocatorGUI().