| 
    ILIAS
    release_9 Revision v9.13-25-g2c18ec4c24f
    
   | 
  
Domain facade. More...
 Collaboration diagram for ILIAS\Notes\DomainService:Public Member Functions | |
| __construct (InternalDomainService $internal_domain) | |
| getNrOfNotesForContext (Context $context, bool $incl_sub=false, ?int $author=null) | |
| getNrOfCommentsForContext (Context $context, bool $incl_sub=false) | |
| getById (int $id) | |
| Get note by id.  More... | |
| getAllCommentsForObjId (int $obj_id, string $since="") | |
| Gets all comments of a repo object, incl.  More... | |
| commentsActive (int $obj_id) | |
| Are comments activated for object?  More... | |
| activateComments (int $obj_id, bool $a_activate=true) | |
| getUserCount (int $obj_id, int $sub_obj_id, string $obj_type) | |
| How many users have attached a note/comment to a given object?  More... | |
Protected Attributes | |
| NotesManager | $notes_manager | 
| InternalDomainService | $internal_domain | 
Domain facade.
Definition at line 27 of file class.DomainService.php.
| ILIAS\Notes\DomainService::__construct | ( | InternalDomainService | $internal_domain | ) | 
Definition at line 32 of file class.DomainService.php.
References ILIAS\Notes\DomainService\$internal_domain.
| ILIAS\Notes\DomainService::activateComments | ( | int | $obj_id, | 
| bool | $a_activate = true  | 
        ||
| ) | 
Definition at line 103 of file class.DomainService.php.
| ILIAS\Notes\DomainService::commentsActive | ( | int | $obj_id | ) | 
Are comments activated for object?
Definition at line 97 of file class.DomainService.php.
| ILIAS\Notes\DomainService::getAllCommentsForObjId | ( | int | $obj_id, | 
| string | $since = ""  | 
        ||
| ) | 
Gets all comments of a repo object, incl.
comments of subobjects.
Definition at line 80 of file class.DomainService.php.
References ILIAS\Notes\Note\PUBLIC.
| ILIAS\Notes\DomainService::getById | ( | int | $id | ) | 
Get note by id.
Definition at line 69 of file class.DomainService.php.
| ILIAS\Notes\DomainService::getNrOfCommentsForContext | ( | Context | $context, | 
| bool | $incl_sub = false  | 
        ||
| ) | 
| ILIAS\Notes\DomainService::getNrOfNotesForContext | ( | Context | $context, | 
| bool | $incl_sub = false,  | 
        ||
| ?int | $author = null  | 
        ||
| ) | 
| ILIAS\Notes\DomainService::getUserCount | ( | int | $obj_id, | 
| int | $sub_obj_id, | ||
| string | $obj_type | ||
| ) | 
How many users have attached a note/comment to a given object?
Definition at line 113 of file class.DomainService.php.
      
  | 
  protected | 
Definition at line 30 of file class.DomainService.php.
Referenced by ILIAS\Notes\DomainService\__construct().
      
  | 
  protected | 
Definition at line 29 of file class.DomainService.php.