3 declare(strict_types=1);
    36         $this->notes_manager = $internal_domain->
notes();
    41         bool $incl_sub = 
false,
    44         if (is_null($author)) {
    45             $author = $this->internal_domain->user()->getId();
    47         return $this->notes_manager->getNrOfNotesForContext(
    57         bool $incl_sub = 
false    59         return $this->notes_manager->getNrOfNotesForContext(
    72         return $this->notes_manager->getById($id);
    84         return $this->notes_manager->getNotesForRepositoryObjId(
   100         return $this->notes_manager->commentsActive($obj_id);
   105         bool $a_activate = 
true   107         $this->notes_manager->activateComments($obj_id, $a_activate);
   118         return $this->notes_manager->getUserCount($obj_id, $sub_obj_id, $obj_type);
 getById(int $id)
Get note by id. 
 
activateComments(int $obj_id, bool $a_activate=true)
 
__construct(InternalDomainService $internal_domain)
 
getNrOfCommentsForContext(Context $context, bool $incl_sub=false)
 
InternalDomainService $internal_domain
 
NotesManager $notes_manager
 
getUserCount(int $obj_id, int $sub_obj_id, string $obj_type)
How many users have attached a note/comment to a given object? 
 
commentsActive(int $obj_id)
Are comments activated for object? 
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
getNrOfNotesForContext(Context $context, bool $incl_sub=false, ?int $author=null)
 
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins 
 
getAllCommentsForObjId(int $obj_id, string $since="")
Gets all comments of a repo object, incl.