source: pmb4.1/trunk/fuentes/pmb/admin/connecteurs/out/webdav/lib/Sabre/DAV/Exception/NotImplemented.php @ 478

Last change on this file since 478 was 478, checked in by mabarracus, 4 years ago

copy trusty code 4.1

  • Property svn:executable set to *
File size: 603 bytes
Line 
1<?php
2
3namespace Sabre\DAV\Exception;
4
5/**
6 * NotImplemented
7 *
8 * This exception is thrown when the client tried to call an unsupported HTTP method or other feature
9 *
10 * @copyright Copyright (C) 2007-2013 Rooftop Solutions. All rights reserved.
11 * @author Evert Pot (http://www.rooftopsolutions.nl/)
12 * @license http://code.google.com/p/sabredav/wiki/License Modified BSD License
13 */
14class NotImplemented extends \Sabre\DAV\Exception {
15
16    /**
17     * Returns the HTTP statuscode for this exception
18     *
19     * @return int
20     */
21    public function getHTTPCode() {
22
23        return 501;
24
25    }
26
27}
Note: See TracBrowser for help on using the repository browser.