|
ILIAS
release_8 Revision v8.24
|
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, and ILIAS\Notes\InternalDomainService\notes().
Here is the call graph for this function:| 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.
| 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 |
||
| ) |
Definition at line 55 of file class.DomainService.php.
| ILIAS\Notes\DomainService::getNrOfNotesForContext | ( | Context | $context, |
| bool | $incl_sub = false, |
||
| ?int | $author = null |
||
| ) |
Definition at line 39 of file class.DomainService.php.
| 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.