/** * register an Lock-request * * @param string name */ public function registerLock($owner, $lktype, $lkscope, $lktoken = NULL, $filename = NULL, $timeout, $depth) { with($lockprop = new WebdavLock($filename)); $lockprop->setOwner($owner); $lockprop->setLockType($lktype); $lockprop->setLockScope($lkscope); $lockprop->setLockToken($lktoken); $lockprop->setTimeout($timeout); $lockprop->setDepth($depth); $this->properties = $lockprop; }