source: pmb4.2/trunk/fuentes/pmb/admin/connecteurs/out/webdav/lib/Sabre/DAV/Exception/Conflict.php @ 815

Last change on this file since 815 was 815, checked in by jrpelegrina, 4 years ago

Initial release of pmb 4.2

  • Property svn:executable set to *
File size: 625 bytes
Line 
1<?php
2
3namespace Sabre\DAV\Exception;
4
5/**
6 * Conflict
7 *
8 * A 409 Conflict is thrown when a user tried to make a directory over an existing
9 * file or in a parent directory that doesn't exist.
10 *
11 * @copyright Copyright (C) 2007-2013 Rooftop Solutions. All rights reserved.
12 * @author Evert Pot (http://www.rooftopsolutions.nl/)
13 * @license http://code.google.com/p/sabredav/wiki/License Modified BSD License
14 */
15class Conflict extends \Sabre\DAV\Exception {
16
17    /**
18     * Returns the HTTP statuscode for this exception
19     *
20     * @return int
21     */
22    public function getHTTPCode() {
23
24        return 409;
25
26    }
27
28}
Note: See TracBrowser for help on using the repository browser.