ILIAS
Release_4_1_x_branch Revision 61804
|
Class for permanent links. More...
Public Member Functions | |
__construct ($a_type, $a_id, $a_append="", $a_target="") | |
Example: type = "wiki", id (ref_id) = "234", append = "_Start_Page". | |
setIncludePermanentLinkText ($a_includepermanentlinktext) | |
Set Include permanent link text. | |
getIncludePermanentLinkText () | |
Get Include permanent link text. | |
setType ($a_type) | |
Set Type. | |
getType () | |
Get Type. | |
setId ($a_id) | |
Set Id. | |
getId () | |
Get Id. | |
setAppend ($a_append) | |
Set Append. | |
getAppend () | |
Get Append. | |
setTarget ($a_target) | |
Set Target. | |
getTarget () | |
Get Target. | |
setTitle ($a_val) | |
Set title. | |
getTitle () | |
Get title. | |
setAlignCenter ($a_val) | |
Set center alignment. | |
getAlignCenter () | |
Get center alignment. | |
getHTML () | |
Get HTML for link. |
Static Public Member Functions | |
static | _getBookmarksSelectionList ($title, $href) |
returns the active bookmark links. |
Protected Attributes | |
$align_center = true |
Class for permanent links.
ilPermanentLinkGUI: ilNoteGUI, ilFeedbackGUI, ilColumnGUI, ilPublicUserProfileGUI
Definition at line 17 of file class.ilPermanentLinkGUI.php.
ilPermanentLinkGUI::__construct | ( | $a_type, | |
$a_id, | |||
$a_append = "" , |
|||
$a_target = "" |
|||
) |
Example: type = "wiki", id (ref_id) = "234", append = "_Start_Page".
Definition at line 24 of file class.ilPermanentLinkGUI.php.
References setAppend(), setId(), setIncludePermanentLinkText(), setTarget(), and setType().
|
static |
returns the active bookmark links.
if only one link is enabled, a single link is returned. otherwise a the html of an advanced selection list is returned.
Definition at line 242 of file class.ilPermanentLinkGUI.php.
References $_SESSION, $ilDB, $ilSetting, $lng, $row, $title, ilPermanentLink\getActiveBookmarks(), and ilUtil\getImagePath().
Referenced by ilInfoScreenGUI\addObjectSections(), and getHTML().
ilPermanentLinkGUI::getAlignCenter | ( | ) |
Get center alignment.
Definition at line 168 of file class.ilPermanentLinkGUI.php.
References $align_center.
Referenced by getHTML().
ilPermanentLinkGUI::getAppend | ( | ) |
Get Append.
Definition at line 108 of file class.ilPermanentLinkGUI.php.
Referenced by getHTML().
ilPermanentLinkGUI::getHTML | ( | ) |
Get HTML for link.
Definition at line 176 of file class.ilPermanentLinkGUI.php.
References $ilCtrl, $lng, $title, $tpl, _getBookmarksSelectionList(), ilLink\_getStaticLink(), getAlignCenter(), getAppend(), getId(), getIncludePermanentLinkText(), getTarget(), getTitle(), and getType().
ilPermanentLinkGUI::getId | ( | ) |
Get Id.
Definition at line 88 of file class.ilPermanentLinkGUI.php.
Referenced by getHTML().
ilPermanentLinkGUI::getIncludePermanentLinkText | ( | ) |
Get Include permanent link text.
Definition at line 48 of file class.ilPermanentLinkGUI.php.
Referenced by getHTML().
ilPermanentLinkGUI::getTarget | ( | ) |
Get Target.
Definition at line 128 of file class.ilPermanentLinkGUI.php.
Referenced by getHTML().
ilPermanentLinkGUI::getTitle | ( | ) |
Get title.
Definition at line 148 of file class.ilPermanentLinkGUI.php.
References $title.
Referenced by getHTML().
ilPermanentLinkGUI::getType | ( | ) |
Get Type.
Definition at line 68 of file class.ilPermanentLinkGUI.php.
Referenced by getHTML().
ilPermanentLinkGUI::setAlignCenter | ( | $a_val | ) |
Set center alignment.
boolean | align the link at center |
Definition at line 158 of file class.ilPermanentLinkGUI.php.
ilPermanentLinkGUI::setAppend | ( | $a_append | ) |
Set Append.
string | $a_append | Append |
Definition at line 98 of file class.ilPermanentLinkGUI.php.
Referenced by __construct().
ilPermanentLinkGUI::setId | ( | $a_id | ) |
Set Id.
string | $a_id | Id |
Definition at line 78 of file class.ilPermanentLinkGUI.php.
Referenced by __construct().
ilPermanentLinkGUI::setIncludePermanentLinkText | ( | $a_includepermanentlinktext | ) |
Set Include permanent link text.
boolean | $a_includepermanentlinktext | Include permanent link text |
Definition at line 38 of file class.ilPermanentLinkGUI.php.
Referenced by __construct().
ilPermanentLinkGUI::setTarget | ( | $a_target | ) |
Set Target.
string | $a_target | Target |
Definition at line 118 of file class.ilPermanentLinkGUI.php.
Referenced by __construct().
ilPermanentLinkGUI::setTitle | ( | $a_val | ) |
Set title.
string | title |
Definition at line 138 of file class.ilPermanentLinkGUI.php.
Referenced by ilLMPresentationGUI\ilLMSubMenu().
ilPermanentLinkGUI::setType | ( | $a_type | ) |
Set Type.
string | $a_type | Type |
Definition at line 58 of file class.ilPermanentLinkGUI.php.
Referenced by __construct().
|
protected |
Definition at line 19 of file class.ilPermanentLinkGUI.php.
Referenced by getAlignCenter().