summaryrefslogtreecommitdiffstats
path: root/3rdparty/Sabre/DAV/Property.php
blob: 6487bf44bc4eafc66be4b470735923c9dd5643a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?php

/**
 * Abstract property class
 *
 * Extend this class to create custom complex properties
 *
 * @package Sabre
 * @subpackage DAV
 * @copyright Copyright (C) 2007-2012 Rooftop Solutions. All rights reserved.
 * @author Evert Pot (http://www.rooftopsolutions.nl/)
 * @license http://code.google.com/p/sabredav/wiki/License Modified BSD License
 */
abstract class Sabre_DAV_Property implements Sabre_DAV_PropertyInterface {

    /**
     * Unserializes the property.
     *
     * This static method should return a an instance of this object.
     *
     * @param DOMElement $prop
     * @return Sabre_DAV_IProperty
     */
    static function unserialize(DOMElement $prop) {

        throw new Sabre_DAV_Exception('Unserialize has not been implemented for this class');

    }

}