ILIAS  release_7 Revision v7.30-3-g800a261c036
ilWebDAVMountInstructionsRepository.php
Go to the documentation of this file.
1<?php
2
7{
15
21 public function getNextMountInstructionsDocumentId() : int;
22
28 public function getHighestSortingNumber() : int;
29
38
47
53 public function getAllMountInstructions() : array;
54
62 public function doMountInstructionsExistByLanguage(string $language) : int;
63
71
79 public function updateSortingValueById(int $id, int $a_new_sorting_value);
80
87 public function deleteMountInstructionsById(int $id);
88}
An exception for terminatinating execution or to throw for unit testing.
Interface ilWebDAVMountInstructionsRepository.
getHighestSortingNumber()
Get currently highest sorting number for mount instructions document.
getMountInstructionsByLanguage(string $language)
Gets mount instructions document by language -> language is two letters like "en" for English etc.
deleteMountInstructionsById(int $id)
Delete mount instructions document by id.
updateSortingValueById(int $id, int $a_new_sorting_value)
Update sorting value of a mount instructions document.
getMountInstructionsDocumentById(int $id)
Gets mount instructions document by id.
getAllMountInstructions()
Returns an array with all existing mount instructions documents.
getNextMountInstructionsDocumentId()
Return next free ID for mount instructions document.
createMountInstructionsDocumentEntry(ilWebDAVMountInstructionsDocument $document)
Create new database entry for given mount instructions document.
updateMountInstructions(ilWebDAVMountInstructionsDocument $document)
Update existing mount instructions document.
doMountInstructionsExistByLanguage(string $language)
Check if mount instructions for language exists.