ILIAS
Release_4_0_x_branch Revision 61816
|
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 36 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 43 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 261 of file class.ilPermanentLinkGUI.php.
References $_SESSION, $ilDB, $ilSetting, $lng, $q, $row, $title, and ilUtil\getImagePath().
Referenced by ilInfoScreenGUI\addObjectSections(), and getHTML().
ilPermanentLinkGUI::getAlignCenter | ( | ) |
Get center alignment.
Definition at line 187 of file class.ilPermanentLinkGUI.php.
References $align_center.
Referenced by getHTML().
ilPermanentLinkGUI::getAppend | ( | ) |
Get Append.
Definition at line 127 of file class.ilPermanentLinkGUI.php.
Referenced by getHTML().
ilPermanentLinkGUI::getHTML | ( | ) |
Get HTML for link.
Definition at line 195 of file class.ilPermanentLinkGUI.php.
References $ilCtrl, $ilDB, $lng, $title, $tpl, _getBookmarksSelectionList(), ilLink\_getStaticLink(), getAlignCenter(), getAppend(), getId(), getIncludePermanentLinkText(), getTarget(), getTitle(), and getType().
ilPermanentLinkGUI::getId | ( | ) |
Get Id.
Definition at line 107 of file class.ilPermanentLinkGUI.php.
Referenced by getHTML().
ilPermanentLinkGUI::getIncludePermanentLinkText | ( | ) |
Get Include permanent link text.
Definition at line 67 of file class.ilPermanentLinkGUI.php.
Referenced by getHTML().
ilPermanentLinkGUI::getTarget | ( | ) |
Get Target.
Definition at line 147 of file class.ilPermanentLinkGUI.php.
Referenced by getHTML().
ilPermanentLinkGUI::getTitle | ( | ) |
Get title.
Definition at line 167 of file class.ilPermanentLinkGUI.php.
References $title.
Referenced by getHTML().
ilPermanentLinkGUI::getType | ( | ) |
Get Type.
Definition at line 87 of file class.ilPermanentLinkGUI.php.
References $type.
Referenced by getHTML().
ilPermanentLinkGUI::setAlignCenter | ( | $a_val | ) |
Set center alignment.
boolean | align the link at center |
Definition at line 177 of file class.ilPermanentLinkGUI.php.
ilPermanentLinkGUI::setAppend | ( | $a_append | ) |
Set Append.
string | $a_append | Append |
Definition at line 117 of file class.ilPermanentLinkGUI.php.
Referenced by __construct().
ilPermanentLinkGUI::setId | ( | $a_id | ) |
Set Id.
string | $a_id | Id |
Definition at line 97 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 57 of file class.ilPermanentLinkGUI.php.
Referenced by __construct().
ilPermanentLinkGUI::setTarget | ( | $a_target | ) |
Set Target.
string | $a_target | Target |
Definition at line 137 of file class.ilPermanentLinkGUI.php.
Referenced by __construct().
ilPermanentLinkGUI::setTitle | ( | $a_val | ) |
Set title.
string | title |
Definition at line 157 of file class.ilPermanentLinkGUI.php.
Referenced by ilLMPresentationGUI\ilLMSubMenu().
ilPermanentLinkGUI::setType | ( | $a_type | ) |
Set Type.
string | $a_type | Type |
Definition at line 77 of file class.ilPermanentLinkGUI.php.
Referenced by __construct().
|
protected |
Definition at line 38 of file class.ilPermanentLinkGUI.php.
Referenced by getAlignCenter().