ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
◀ ilDoc Overview
class.ilBlogNewsRendererGUI.php
Go to the documentation of this file.
1
<?php
2
3
/* Copyright (c) 1998-2016 ILIAS open source, Extended GPL, see docs/LICENSE */
4
5
include_once(
"./Services/News/classes/class.ilNewsDefaultRendererGUI.php"
);
13
class
ilBlogNewsRendererGUI
extends
ilNewsDefaultRendererGUI
14
{
20
public
function
getObjectLink
()
21
{
22
include_once(
"./Services/Link/classes/class.ilLink.php"
);
23
$n
= $this->
getNewsItem
();
24
$add =
""
;
25
if
(
$n
->getContextSubObjType() ==
"blp"
26
&&
$n
->getContextSubObjId() > 0) {
27
$add =
"_"
.
$n
->getContextSubObjId();
28
}
29
30
return
ilLink::_getLink
($this->
getNewsRefId
(),
""
,
array
(), $add);
31
}
32
}
ilNewsDefaultRendererGUI\getNewsRefId
getNewsRefId()
Get news ref id.
Definition:
class.ilNewsDefaultRendererGUI.php:75
ilNewsDefaultRendererGUI
Default renderer.
Definition:
class.ilNewsDefaultRendererGUI.php:13
ilNewsDefaultRendererGUI\getNewsItem
getNewsItem()
Get news item.
Definition:
class.ilNewsDefaultRendererGUI.php:65
ilBlogNewsRendererGUI\getObjectLink
getObjectLink()
Get object link.
Definition:
class.ilBlogNewsRendererGUI.php:20
ilBlogNewsRendererGUI
Blog news renderer.
Definition:
class.ilBlogNewsRendererGUI.php:13
$n
$n
Definition:
RandomTest.php:85
array
Create styles array
The data for the language used.
Definition:
40duplicateStyle.php:19
ilLink\_getLink
static _getLink($a_ref_id, $a_type='', $a_params=array(), $append="")
Definition:
class.ilLink.php:17
Modules
Blog
classes
class.ilBlogNewsRendererGUI.php
Generated on Sat Jan 18 2025 19:01:13 for ILIAS by
1.8.13 (using
Doxyfile
)