ILIAS
release_8 Revision v8.19-1-g4e8f2f9140c
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Public Member Functions | |
__construct (ilLanguage $lng, ilSetting $settings, ilObjUser $user, ilNewsObjectAdapterInterface $obj_adapter=null) | |
data () | |
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 | |
ilNewsServiceDependencies | $_deps |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning News service
Definition at line 23 of file class.ilNewsService.php.
ilNewsService::__construct | ( | ilLanguage | $lng, |
ilSetting | $settings, | ||
ilObjUser | $user, | ||
ilNewsObjectAdapterInterface | $obj_adapter = null |
||
) |
Definition at line 27 of file class.ilNewsService.php.
ilNewsService::contextForRefId | ( | int | $ref_id, |
int | $subid = 0 , |
||
string | $subtype = "" |
||
) |
Get context object for news.
Definition at line 59 of file class.ilNewsService.php.
ilNewsService::data | ( | ) |
Definition at line 39 of file class.ilNewsService.php.
ilNewsService::isGloballyActivated | ( | ) |
Definition at line 69 of file class.ilNewsService.php.
ilNewsService::item | ( | ilNewsContext | $context | ) |
Get a new news item for a context.
Definition at line 47 of file class.ilNewsService.php.
References ilNewsContext\getObjId(), ilNewsContext\getObjType(), ilNewsContext\getSubId(), ilNewsContext\getSubType(), and NEWS_NOTICE.
|
protected |
Definition at line 25 of file class.ilNewsService.php.