3 require_once(
'Services/ActiveRecord/Connector/class.arConnectorSession.php');
113 $assoc_array[
'token'],
114 $assoc_array[
'obj_id'],
115 $assoc_array[
'ilias_owner'],
116 $assoc_array[
'dav_owner'],
117 $assoc_array[
'expires'],
118 $assoc_array[
'depth'],
119 $assoc_array[
'type'],
120 $assoc_array[
'scope']
139 $DIC->user()->getId(),
157 $sabre_lock->created;
161 $sabre_lock->timeout = $this->expires -
$timestamp;
162 $sabre_lock->created = $this->expires - 3600;
164 $sabre_lock->uri = $uri;
Represents a lock on an ilias object.
__construct($token, $obj_id, $ilias_owner, $dav_owner, $expires, $depth, $type, $scope)
static createFromAssocArray($assoc_array)
foreach($mandatory_scripts as $file) $timestamp
static createFromSabreLock(Sabre\DAV\Locks\LockInfo $lock_info, $obj_id)
Creates an ILIAS lock object from a sabreDAV lock object.