| 
    ILIAS
    release_9 Revision v9.13-25-g2c18ec4c24f
    
   | 
  
 Collaboration diagram for ILIAS\News\Service: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, ILIAS\Repository\user(), and ILIAS\DI\Container\user().
 Here is the call graph for this function:| 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().
 Here is the call graph for this function:
      
  | 
  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.