/** * Serves PROPPATCH requests. * * The method receives a {@link ezcWebdavPropPatchRequest} object * containing all relevant information obout the clients request and will * return an instance of {@link ezcWebdavErrorResponse} on error or a * {@link ezcWebdavPropPatchResponse} response on success. If the * referenced resource is a collection or if only some properties produced * errors, an instance of {@link ezcWebdavMultistatusResponse} may be * returned. * * This method acquires the internal lock of the backend, dispatches to * {@link ezcWebdavSimpleBackend} to perform the operation and releases the * lock afterwards. * * @param ezcWebdavPropPatchRequest $request * @return ezcWebdavResponse */ public function propPatch(ezcWebdavPropPatchRequest $request) { $this->acquireLock(); $return = parent::propPatch($request); $this->freeLock(); return $return; }
public function propPatch(ezcWebdavPropPatchRequest $request) { print_debug("-- HTTP method: PROPPATCH --\n"); $this->acquireLock(); $return = parent::propPatch($request); $this->freeLock(); return $return; }