Property.php 628 B

1234567891011121314151617181920212223242526
  1. <?php
  2. /**
  3. * Abstract property class
  4. *
  5. * Extend this class to create custom complex properties
  6. *
  7. * @package Sabre
  8. * @subpackage DAV
  9. * @copyright Copyright (C) 2007-2012 Rooftop Solutions. All rights reserved.
  10. * @author Evert Pot (http://www.rooftopsolutions.nl/)
  11. * @license http://code.google.com/p/sabredav/wiki/License Modified BSD License
  12. */
  13. abstract class Sabre_DAV_Property {
  14. abstract function serialize(Sabre_DAV_Server $server, DOMElement $prop);
  15. static function unserialize(DOMElement $prop) {
  16. throw new Sabre_DAV_Exception('Unserialize has not been implemented for this class');
  17. }
  18. }