40                $this->includepermanentlinktext = $a_includepermanentlinktext;
 
   50                return $this->includepermanentlinktext;
 
  100                $this->append = $a_append;
 
  110                return $this->append;
 
  120                $this->target = $a_target;
 
  140                $this->title = $a_val;
 
  160                $this->align_center = $a_val;
 
  181                        "Services/PermanentLink");
 
  183                include_once(
'./Services/Link/classes/class.ilLink.php');
 
  188                        $tpl->setVariable(
"TXT_PERMA", $lng->txt(
"perma_link").
":");
 
  201                        $obj_id = $ilObjDataCache->lookupObjId($this->
getId());
 
  202                        $title = $ilObjDataCache->lookupTitle($obj_id);
 
  205                #       $bookmark->setTitle("untitled");
 
  207                $tpl->setVariable(
"TXT_BOOKMARK_DEFAULT", 
$title);
 
  209                $tpl->setVariable(
"LINK", $href);
 
  213                        $tpl->setVariable(
"ALIGN", 
"center");
 
  217                        $tpl->setVariable(
"ALIGN", 
"left");
 
  222                        $tpl->setVariable(
"TARGET", 
'target="'.$this->
getTarget().
'"');
 
  228                        $tpl->setVariable(
'SELECTION_LIST', $bm_html);
 
  239                require_once 
'Services/UIComponent/AdvancedSelectionList/classes/class.ilAdvancedSelectionListGUI.php';
 
  242                $current_selection_list->setId(
'socialbm_actions_' . md5(uniqid(rand(), 
true)));
 
  246                if(!
$GLOBALS[
'DIC'][
'ilUser']->isAnonymous() && !
$GLOBALS[
'DIC'][
'ilSetting']->
get(
'disable_bookmarks'))
 
  248                        $linktpl = 
'ilias.php?cmd=redirect&baseClass=ilPersonalDesktopGUI&redirectClass=ilbookmarkadministrationgui&redirectCmd=newFormBookmark¶m_bmf_id=1¶m_return_to=true¶m_bm_title=' . urlencode(urlencode(
$title)) . 
'¶m_bm_link=' . urlencode(urlencode($href)) . 
"¶m_return_to_url=" . urlencode(urlencode(
$_SERVER[
'REQUEST_URI']));
 
  249                        $current_selection_list->addItem(
$GLOBALS[
'DIC'][
'lng']->txt(
"bm_add_to_ilias"), 
'', $linktpl, 
'' , 
$GLOBALS[
'DIC'][
'lng']->txt(
'bm_add_to_ilias'), 
'_top');
 
  250                        $html = $current_selection_list->getHTML();
 
An exception for terminatinating execution or to throw for unit testing.
User interface class for advanced drop-down selection lists.
static _getStaticLink($a_ref_id, $a_type='', $a_fallback_goto=true, $append="")
Get static link.
Class for permanent links.
setIncludePermanentLinkText($a_includepermanentlinktext)
Set Include permanent link text.
static getBookmarksSelectionList($title, $href)
getAlignCenter()
Get center alignment.
__construct($a_type, $a_id, $a_append="", $a_target="")
Example: type = "wiki", id (ref_id) = "234", append = "_Start_Page".
setAppend($a_append)
Set Append.
setType($a_type)
Set Type.
setAlignCenter($a_val)
Set center alignment.
setTitle($a_val)
Set title.
getIncludePermanentLinkText()
Get Include permanent link text.
getHTML()
Get HTML for link.
setTarget($a_target)
Set Target.
special template class to simplify handling of ITX/PEAR
$GLOBALS['loaded']
Global hash that tracks already loaded includes.
if((!isset($_SERVER['DOCUMENT_ROOT'])) OR(empty($_SERVER['DOCUMENT_ROOT']))) $_SERVER['DOCUMENT_ROOT']