ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
Public Member Functions | |
__construct (ilDBInterface $a_db) | |
ilWebDAVMountInstructionsRepository constructor. More... | |
createMountInstructionsDocumentEntry (ilWebDAVMountInstructionsDocument $document) | |
@inheritDoc More... | |
getNextMountInstructionsDocumentId () | |
@inheritDoc More... | |
getHighestSortingNumber () | |
@inheritDoc More... | |
getMountInstructionsDocumentById (int $id) | |
@inheritDoc More... | |
getMountInstructionsByLanguage (string $language) | |
@inheritDoc More... | |
getAllMountInstructions () | |
@inheritDoc More... | |
doMountInstructionsExistByLanguage (string $language) | |
@inheritDoc More... | |
updateMountInstructions (ilWebDAVMountInstructionsDocument $document) | |
@inheritDoc More... | |
updateSortingValueById (int $id, int $a_new_sorting_value) | |
@inheritDoc More... | |
deleteMountInstructionsById (int $id) | |
@inheritDoc More... | |
createMountInstructionsDocumentEntry (ilWebDAVMountInstructionsDocument $document) | |
Create new database entry for given mount instructions document. More... | |
getNextMountInstructionsDocumentId () | |
Return next free ID for mount instructions document. More... | |
getHighestSortingNumber () | |
Get currently highest sorting number for mount instructions document. More... | |
getMountInstructionsDocumentById (int $id) | |
Gets mount instructions document by id. More... | |
getMountInstructionsByLanguage (string $language) | |
Gets mount instructions document by language -> language is two letters like "en" for English etc. More... | |
getAllMountInstructions () | |
Returns an array with all existing mount instructions documents. More... | |
doMountInstructionsExistByLanguage (string $language) | |
Check if mount instructions for language exists. More... | |
updateMountInstructions (ilWebDAVMountInstructionsDocument $document) | |
Update existing mount instructions document. More... | |
updateSortingValueById (int $id, int $a_new_sorting_value) | |
Update sorting value of a mount instructions document. More... | |
deleteMountInstructionsById (int $id) | |
Delete mount instructions document by id. More... | |
Data Fields | |
const | TABLE_MOUNT_INSTRUCTIONS = 'webdav_instructions' |
Protected Member Functions | |
buildDocumentFromDatabaseRecord (array $result) | |
Fills document with results array from database. More... | |
Protected Attributes | |
$db | |
Definition at line 4 of file class.ilWebDAVMountInstructionsRepositoryImpl.php.
ilWebDAVMountInstructionsRepositoryImpl::__construct | ( | ilDBInterface | $a_db | ) |
ilWebDAVMountInstructionsRepository constructor.
ilDBInterface | $a_db |
Definition at line 16 of file class.ilWebDAVMountInstructionsRepositoryImpl.php.
|
protected |
Fills document with results array from database.
array | $result |
Definition at line 201 of file class.ilWebDAVMountInstructionsRepositoryImpl.php.
References $result.
Referenced by getAllMountInstructions(), getMountInstructionsByLanguage(), and getMountInstructionsDocumentById().
ilWebDAVMountInstructionsRepositoryImpl::createMountInstructionsDocumentEntry | ( | ilWebDAVMountInstructionsDocument | $document | ) |
@inheritDoc
Implements ilWebDAVMountInstructionsRepository.
Definition at line 24 of file class.ilWebDAVMountInstructionsRepositoryImpl.php.
References ilWebDAVMountInstructionsDocument\getCreationTs(), ilWebDAVMountInstructionsDocument\getId(), ilWebDAVMountInstructionsDocument\getLanguage(), ilWebDAVMountInstructionsDocument\getLastModificationUsrId(), ilWebDAVMountInstructionsDocument\getModificationTs(), ilWebDAVMountInstructionsDocument\getOwnerUsrId(), ilWebDAVMountInstructionsDocument\getProcessedInstructions(), ilWebDAVMountInstructionsDocument\getSorting(), ilWebDAVMountInstructionsDocument\getTitle(), and ilWebDAVMountInstructionsDocument\getUploadedInstructions().
ilWebDAVMountInstructionsRepositoryImpl::deleteMountInstructionsById | ( | int | $id | ) |
@inheritDoc
Implements ilWebDAVMountInstructionsRepository.
Definition at line 187 of file class.ilWebDAVMountInstructionsRepositoryImpl.php.
References $query.
ilWebDAVMountInstructionsRepositoryImpl::doMountInstructionsExistByLanguage | ( | string | $language | ) |
@inheritDoc
Implements ilWebDAVMountInstructionsRepository.
Definition at line 125 of file class.ilWebDAVMountInstructionsRepositoryImpl.php.
ilWebDAVMountInstructionsRepositoryImpl::getAllMountInstructions | ( | ) |
@inheritDoc
Implements ilWebDAVMountInstructionsRepository.
Definition at line 109 of file class.ilWebDAVMountInstructionsRepositoryImpl.php.
References $query, $result, and buildDocumentFromDatabaseRecord().
ilWebDAVMountInstructionsRepositoryImpl::getHighestSortingNumber | ( | ) |
@inheritDoc
Implements ilWebDAVMountInstructionsRepository.
Definition at line 61 of file class.ilWebDAVMountInstructionsRepositoryImpl.php.
ilWebDAVMountInstructionsRepositoryImpl::getMountInstructionsByLanguage | ( | string | $language | ) |
@inheritDoc
Implements ilWebDAVMountInstructionsRepository.
Definition at line 91 of file class.ilWebDAVMountInstructionsRepositoryImpl.php.
References $query, $result, and buildDocumentFromDatabaseRecord().
ilWebDAVMountInstructionsRepositoryImpl::getMountInstructionsDocumentById | ( | int | $id | ) |
@inheritDoc
Implements ilWebDAVMountInstructionsRepository.
Definition at line 73 of file class.ilWebDAVMountInstructionsRepositoryImpl.php.
References $query, $result, and buildDocumentFromDatabaseRecord().
ilWebDAVMountInstructionsRepositoryImpl::getNextMountInstructionsDocumentId | ( | ) |
@inheritDoc
Implements ilWebDAVMountInstructionsRepository.
Definition at line 49 of file class.ilWebDAVMountInstructionsRepositoryImpl.php.
ilWebDAVMountInstructionsRepositoryImpl::updateMountInstructions | ( | ilWebDAVMountInstructionsDocument | $document | ) |
@inheritDoc
Implements ilWebDAVMountInstructionsRepository.
Definition at line 139 of file class.ilWebDAVMountInstructionsRepositoryImpl.php.
References ilWebDAVMountInstructionsDocument\getCreationTs(), ilWebDAVMountInstructionsDocument\getId(), ilWebDAVMountInstructionsDocument\getLanguage(), ilWebDAVMountInstructionsDocument\getLastModificationUsrId(), ilWebDAVMountInstructionsDocument\getModificationTs(), ilWebDAVMountInstructionsDocument\getOwnerUsrId(), ilWebDAVMountInstructionsDocument\getSorting(), and ilWebDAVMountInstructionsDocument\getTitle().
ilWebDAVMountInstructionsRepositoryImpl::updateSortingValueById | ( | int | $id, |
int | $a_new_sorting_value | ||
) |
@inheritDoc
Implements ilWebDAVMountInstructionsRepository.
Definition at line 166 of file class.ilWebDAVMountInstructionsRepositoryImpl.php.
|
protected |
Definition at line 9 of file class.ilWebDAVMountInstructionsRepositoryImpl.php.
const ilWebDAVMountInstructionsRepositoryImpl::TABLE_MOUNT_INSTRUCTIONS = 'webdav_instructions' |
Definition at line 6 of file class.ilWebDAVMountInstructionsRepositoryImpl.php.