示例#1
0
 /**
  * Serves MKCOL (make collection) requests.
  *
  * The method receives a {@link ezcWebdavMakeCollectionRequest} objects
  * containing all relevant information obout the clients request and will
  * return an instance of {@link ezcWebdavErrorResponse} on error or {@link
  * ezcWebdavMakeCollectionResponse} on success.
  *
  * This method acquires the internal lock of the backend, dispatches to
  * {@link ezcWebdavSimpleBackend} to perform the operation and releases the
  * lock afterwards.
  * 
  * @param ezcWebdavMakeCollectionRequest $request 
  * @return ezcWebdavResponse
  */
 public function makeCollection(ezcWebdavMakeCollectionRequest $request)
 {
     $this->acquireLock();
     $return = parent::makeCollection($request);
     $this->freeLock();
     return $return;
 }
示例#2
0
 public function makeCollection(ezcWebdavMakeCollectionRequest $request)
 {
     print_debug("-- HTTP method: MAKECOL --\n");
     $this->acquireLock();
     $return = parent::makeCollection($request);
     $this->freeLock();
     return $return;
 }