ILIAS  trunk Revision v11.0_alpha-1689-g66c127b4ae8
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
DocumentRepository.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
28 
30 {
34  public function all(int $offset = 0, ?int $limit = null): array;
35  public function countAll(): int;
36 
41  public function select(array $ids): array;
42 
46  public function find(int $id): Result;
47 
51  public function findId(DocumentId $document_id): Result;
52 
53  public function createDocument(string $title, DocumentContent $content): void;
54  public function createCriterion(Document $document, CriterionContent $content): void;
55  public function deleteDocument(Document $document): void;
56  public function deleteCriterion(int $criterion_id): void;
57  public function updateDocumentTitle(DocumentId $document_id, string $title): void;
58  public function updateDocumentContent(DocumentId $document_id, DocumentContent $content): void;
59  public function updateDocumentOrder(DocumentId $document_id, int $order): void;
60  public function updateCriterionContent(int $criterion_id, CriterionContent $content): void;
61 }
updateDocumentTitle(DocumentId $document_id, string $title)
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
createDocument(string $title, DocumentContent $content)
all(int $offset=0, ?int $limit=null)
createCriterion(Document $document, CriterionContent $content)
updateCriterionContent(int $criterion_id, CriterionContent $content)
updateDocumentContent(DocumentId $document_id, DocumentContent $content)
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Definition: plugin.php:23
updateDocumentOrder(DocumentId $document_id, int $order)