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?
getNrOfNotesForContext(Context $context, bool $incl_sub=false, ?int $author=null)
getAllCommentsForObjId(int $obj_id, string $since="")
Gets all comments of a repo object, incl.