ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Class ilWebDAVDBManager. More...
Public Member Functions | |
__construct ($db) | |
checkIfLockExistsInDB ($token) | |
getLockObjectWithTokenFromDB ($token) | |
Returns lock Object from given tocken. More... | |
getLockObjectWithObjIdFromDB ($obj_id) | |
saveLockToDB (ilWebDAVLockObject $ilias_lock) | |
removeLockWithTokenFromDB ($token) | |
Removes one specific lock. More... | |
purgeExpiredLocksFromDB () | |
Removes all locks from DB that are expired (expires < time()) More... | |
Protected Attributes | |
$db | |
Private Attributes | |
$lock_table = 'dav_lock' | |
Class ilWebDAVDBManager.
According to the repository pattern, this class manages the DB actions from other WebDAV classes. At the moment, the only direct interaction between WebDAV and the DB is for the locking mechanism.
Definition at line 12 of file class.ilWebDAVDBManager.php.
ilWebDAVDBManager::__construct | ( | $db | ) |
Definition at line 21 of file class.ilWebDAVDBManager.php.
References $db.
ilWebDAVDBManager::checkIfLockExistsInDB | ( | $token | ) |
Definition at line 26 of file class.ilWebDAVDBManager.php.
References $row, and PHPMailer\PHPMailer\$token.
ilWebDAVDBManager::getLockObjectWithObjIdFromDB | ( | $obj_id | ) |
Definition at line 58 of file class.ilWebDAVDBManager.php.
References $query, $row, and ilWebDAVLockObject\createFromAssocArray().
ilWebDAVDBManager::getLockObjectWithTokenFromDB | ( | $token | ) |
Returns lock Object from given tocken.
string | $token |
Definition at line 42 of file class.ilWebDAVDBManager.php.
References $query, $row, PHPMailer\PHPMailer\$token, and ilWebDAVLockObject\createFromAssocArray().
ilWebDAVDBManager::purgeExpiredLocksFromDB | ( | ) |
Removes all locks from DB that are expired (expires < time())
Definition at line 103 of file class.ilWebDAVDBManager.php.
ilWebDAVDBManager::removeLockWithTokenFromDB | ( | $token | ) |
Removes one specific lock.
integer | $token |
Definition at line 93 of file class.ilWebDAVDBManager.php.
References PHPMailer\PHPMailer\$token.
ilWebDAVDBManager::saveLockToDB | ( | ilWebDAVLockObject | $ilias_lock | ) |
Definition at line 73 of file class.ilWebDAVDBManager.php.
References ilWebDAVLockObject\getDavOwner(), ilWebDAVLockObject\getDepth(), ilWebDAVLockObject\getExpires(), ilWebDAVLockObject\getIliasOwner(), ilWebDAVLockObject\getObjId(), ilWebDAVLockObject\getScope(), ilWebDAVLockObject\getToken(), and ilWebDAVLockObject\getType().
|
protected |
Definition at line 17 of file class.ilWebDAVDBManager.php.
Referenced by __construct().
|
private |
Definition at line 19 of file class.ilWebDAVDBManager.php.