ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
HistoryRepository.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
27use ilObjUser;
28
30{
36 public function all(array $filter = [], array $order_by = [], int $offset = 0, ?int $limit = null): array;
37
41 public function countAll(array $filter = []): int;
42 public function acceptDocument(ilObjUser $user, Document $document): void;
43 public function alreadyAccepted(ilObjUser $user, Document $document): bool;
44
48 public function acceptedVersion(ilObjUser $user): Result;
49
54}
User class.
A result encapsulates a value or an error and simplifies the handling of those.
Definition: Result.php:29
alreadyAccepted(ilObjUser $user, Document $document)
all(array $filter=[], array $order_by=[], int $offset=0, ?int $limit=null)
acceptDocument(ilObjUser $user, Document $document)