42 function __construct($a_type, $a_id, $a_append =
"", $a_target =
"")
58 $this->includepermanentlinktext = $a_includepermanentlinktext;
68 return $this->includepermanentlinktext;
78 $this->type = $a_type;
118 $this->append = $a_append;
128 return $this->append;
138 $this->target = $a_target;
148 return $this->target;
159 "Services/PermanentLink");
161 include_once(
'classes/class.ilLink.php');
167 if ($d_set->get(
"add_info_links") ==
"1")
169 $tpl->setCurrentBlock(
"delicious");
170 $lng->loadLanguageModule(
"delic");
171 $tpl->setVariable(
"DEL_LINK", urlencode($href));
173 $tpl->setVariable(
"TXT_DEL", $lng->txt(
"delic_add_to_delicious"));
174 $tpl->parseCurrentBlock();
179 $tpl->setVariable(
"TXT_PERMA", $lng->txt(
"perma_link").
": ");
181 $tpl->setVariable(
"LINK", $href);
184 $tpl->setVariable(
"TARGET",
'target="'.$this->
getTarget().
'"');