5 include_once(
"./Services/News/classes/class.ilNewsDefaultRendererGUI.php");
22 include_once(
"./Services/Link/classes/class.ilLink.php");
24 if (
$n->getContextSubObjType() ==
"pos" 25 &&
$n->getContextSubObjId() > 0)
27 include_once(
"./Modules/Forum/classes/class.ilObjForumAccess.php");
28 $pos =
$n->getContextSubObjId();
29 $thread = ilObjForumAccess::_getThreadForPosting($pos);
32 $add =
"_".$thread.
"_".$pos;
getNewsRefId()
Get news ref id.
getNewsItem()
Get news item.
Create styles array
The data for the language used.
getObjectLink()
Get object link.
static _getLink($a_ref_id, $a_type='', $a_params=array(), $append="")