ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Represents a lock on an ilias object. More...
Public Member Functions | |
__construct ($token, $obj_id, $ilias_owner, $dav_owner, $expires, $depth, $type, $scope) | |
getToken () | |
getObjId () | |
getIliasOwner () | |
getDavOwner () | |
getExpires () | |
getDepth () | |
getType () | |
getScope () | |
getAsSabreDavLock ($uri) | |
Static Public Member Functions | |
static | createFromAssocArray ($assoc_array) |
static | createFromSabreLock (Sabre\DAV\Locks\LockInfo $lock_info, $obj_id) |
Creates an ILIAS lock object from a sabreDAV lock object. More... | |
Protected Attributes | |
$token | |
$obj_id | |
$ilias_owner | |
$dav_owner | |
$expires | |
$depth | |
$type | |
$scope | |
Represents a lock on an ilias object.
Objects from this class are immutable!
Definition at line 12 of file class.ilWebDAVLockObject.php.
ilWebDAVLockObject::__construct | ( | $token, | |
$obj_id, | |||
$ilias_owner, | |||
$dav_owner, | |||
$expires, | |||
$depth, | |||
$type, | |||
$scope | |||
) |
string | $token | example: |
int | $obj_id | example: 1111 |
int | $ilias_owner | example: 2222 |
string | $dav_owner | example: 'Desktop' |
int | $expires | example: '795596280' |
int | $depth | example: '-1' |
string | $type | example: 'w' |
string | $scope | example: 'x' |
Definition at line 25 of file class.ilWebDAVLockObject.php.
References $dav_owner, $depth, $expires, $ilias_owner, $obj_id, $scope, $token, and $type.
|
static |
Definition at line 110 of file class.ilWebDAVLockObject.php.
Referenced by ilWebDAVDBManager\getLockObjectWithObjIdFromDB(), and ilWebDAVDBManager\getLockObjectWithTokenFromDB().
|
static |
Creates an ILIAS lock object from a sabreDAV lock object.
IMPORTANT: This method just creates and initializes an object. It does not create any record in the database!
Sabre\DAV\Locks\LockInfo | $lock_info |
Definition at line 132 of file class.ilWebDAVLockObject.php.
Referenced by ilWebDAVLockBackend\lock().
ilWebDAVLockObject::getAsSabreDavLock | ( | $uri | ) |
Definition at line 150 of file class.ilWebDAVLockObject.php.
References $dav_owner, $depth, $DIC, $scope, $timestamp, and $token.
ilWebDAVLockObject::getDavOwner | ( | ) |
Definition at line 73 of file class.ilWebDAVLockObject.php.
References $dav_owner.
Referenced by ilWebDAVDBManager\saveLockToDB().
ilWebDAVLockObject::getDepth | ( | ) |
Definition at line 89 of file class.ilWebDAVLockObject.php.
References $depth.
Referenced by ilWebDAVDBManager\saveLockToDB().
ilWebDAVLockObject::getExpires | ( | ) |
Definition at line 81 of file class.ilWebDAVLockObject.php.
References $expires.
Referenced by ilWebDAVDBManager\saveLockToDB().
ilWebDAVLockObject::getIliasOwner | ( | ) |
Definition at line 65 of file class.ilWebDAVLockObject.php.
References $ilias_owner.
Referenced by ilWebDAVDBManager\saveLockToDB().
ilWebDAVLockObject::getObjId | ( | ) |
Definition at line 57 of file class.ilWebDAVLockObject.php.
References $obj_id.
Referenced by ilWebDAVDBManager\saveLockToDB().
ilWebDAVLockObject::getScope | ( | ) |
Definition at line 105 of file class.ilWebDAVLockObject.php.
References $scope.
Referenced by ilWebDAVDBManager\saveLockToDB().
ilWebDAVLockObject::getToken | ( | ) |
Definition at line 49 of file class.ilWebDAVLockObject.php.
References $token.
Referenced by ilWebDAVDBManager\saveLockToDB().
ilWebDAVLockObject::getType | ( | ) |
Definition at line 97 of file class.ilWebDAVLockObject.php.
References $type.
Referenced by ilWebDAVDBManager\saveLockToDB().
|
protected |
Definition at line 40 of file class.ilWebDAVLockObject.php.
Referenced by __construct(), getAsSabreDavLock(), and getDavOwner().
|
protected |
Definition at line 42 of file class.ilWebDAVLockObject.php.
Referenced by __construct(), getAsSabreDavLock(), and getDepth().
|
protected |
Definition at line 41 of file class.ilWebDAVLockObject.php.
Referenced by __construct(), and getExpires().
|
protected |
Definition at line 39 of file class.ilWebDAVLockObject.php.
Referenced by __construct(), and getIliasOwner().
|
protected |
Definition at line 38 of file class.ilWebDAVLockObject.php.
Referenced by __construct(), createFromSabreLock(), and getObjId().
|
protected |
Definition at line 44 of file class.ilWebDAVLockObject.php.
Referenced by __construct(), getAsSabreDavLock(), and getScope().
|
protected |
Definition at line 37 of file class.ilWebDAVLockObject.php.
Referenced by __construct(), getAsSabreDavLock(), and getToken().
|
protected |
Definition at line 43 of file class.ilWebDAVLockObject.php.
Referenced by __construct(), and getType().