ILIAS  release_7 Revision v7.30-3-g800a261c036
All Data Structures Namespaces Files Functions Variables Modules Pages
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 
46  public function getMountInstructionsByLanguage(string $language) : ilWebDAVMountInstructionsDocument;
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 }
getAllMountInstructions()
Returns an array with all existing mount instructions documents.
createMountInstructionsDocumentEntry(ilWebDAVMountInstructionsDocument $document)
Create new database entry for given mount instructions document.
updateMountInstructions(ilWebDAVMountInstructionsDocument $document)
Update existing mount instructions document.
getMountInstructionsByLanguage(string $language)
Gets mount instructions document by language -> language is two letters like "en" for English etc...
Interface ilWebDAVMountInstructionsRepository.
doMountInstructionsExistByLanguage(string $language)
Check if mount instructions for language exists.
getHighestSortingNumber()
Get currently highest sorting number for mount instructions document.
getMountInstructionsDocumentById(int $id)
Gets mount instructions document by id.
updateSortingValueById(int $id, int $a_new_sorting_value)
Update sorting value of a mount instructions document.
getNextMountInstructionsDocumentId()
Return next free ID for mount instructions document.
deleteMountInstructionsById(int $id)
Delete mount instructions document by id.