/** * Serves COPY requests. * * The method receives a {@link ezcWebdavCopyRequest} objects containing * all relevant information obout the clients request and will return an * instance of {@link ezcWebdavErrorResponse} on error or {@link * ezcWebdavCopyResponse} on success. If only some operations failed, this * method may return an instance of {@link ezcWebdavMultistatusResponse}. * * This method acquires the internal lock of the backend, dispatches to * {@link ezcWebdavSimpleBackend} to perform the operation and releases the * lock afterwards. * * @param ezcWebdavCopyRequest $request * @return ezcWebdavResponse */ public function copy(ezcWebdavCopyRequest $request) { $this->acquireLock(); $return = parent::copy($request); $this->freeLock(); return $return; }
public function copy(ezcWebdavCopyRequest $request) { print_debug("-- HTTP method: COPY --\n"); $this->acquireLock(); $return = parent::copy($request); $this->freeLock(); return $return; }