ILIAS
trunk Revision v11.0_alpha-1831-g8615d53dadb
|
Public Member Functions | |
__construct (Container $DIC) | |
function | data () |
Internal service, do not use in other components. More... | |
item (\ilNewsContext $context) | |
Get a new news item for a context. More... | |
contextForRefId (int $ref_id, int $subid=0, string $subtype="") | |
Get context object for news. More... | |
isGloballyActivated () | |
Protected Attributes | |
ilObjUser | $user |
ilNewsObjectAdapter | $obj_adapter |
Container | $DIC |
Definition at line 29 of file class.Service.php.
ILIAS\News\Service::__construct | ( | Container | $DIC | ) |
Definition at line 35 of file class.Service.php.
References ILIAS\News\Service\$DIC, and ILIAS\Repository\user().
ILIAS\News\Service::contextForRefId | ( | int | $ref_id, |
int | $subid = 0 , |
||
string | $subtype = "" |
||
) |
Get context object for news.
Definition at line 75 of file class.Service.php.
function ILIAS\News\Service::data | ( | ) |
Internal service, do not use in other components.
Definition at line 50 of file class.Service.php.
ILIAS\News\Service::isGloballyActivated | ( | ) |
Definition at line 85 of file class.Service.php.
ILIAS\News\Service::item | ( | \ilNewsContext | $context | ) |
Get a new news item for a context.
Definition at line 63 of file class.Service.php.
References ilNewsContext\getObjId(), ilNewsContext\getObjType(), ilNewsContext\getSubId(), ilNewsContext\getSubType(), NEWS_NOTICE, and ILIAS\Repository\user().
|
protected |
Definition at line 33 of file class.Service.php.
Referenced by ILIAS\News\Service\__construct().
|
protected |
Definition at line 32 of file class.Service.php.
|
protected |
Definition at line 31 of file class.Service.php.