Class: Sabre_DAV_Property_Href

Source Location: /includes/classes/SabreDAV/lib/Sabre/DAV/Property/Href.php

Class Overview [line 15]

Sabre_DAV_Property
   |
   --Sabre_DAV_Property_Href

Href property

Author(s):

  • Evert Pot (http://www.rooftopsolutions.nl/)

Version:

Copyright:

  • Copyright (C) 2007-2010 Rooftop Solutions. All rights reserved.

Variables

Constants

Methods


Implements interfaces

Inherited Variables

Inherited Constants



Class Details

Href property

The href property represpents a url within a {DAV:}href element. This is used by many WebDAV extensions, but not really within the WebDAV core spec

Tags:

[ Top ]


Class Variables


Class Methods

static unserialize

static Sabre_DAV_Property_Href unserialize( $dom)

[line 83]

Unserializes this property from a DOM Element

This method returns an instance of this class. It will only decode {DAV:}href values. For non-compatible elements null will be returned.

Overrides Sabre_DAV_Property::unserialize() (parent method not documented)

Parameters:

  • DOMElement $dom -

[ Top ]

__construct

void __construct( string $href, [ $autoPrefix = true])

[line 37]

__construct

Tags:

  • access - public

Parameters:

  • string $href -
  • $autoPrefix -

[ Top ]

getHref

string getHref( )

[line 49]

Returns the uri

Tags:

  • access - public

Implementation of:
Sabre_DAV_Property_IHref::getHref()
getHref

Parameters:

[ Top ]

serialize

void serialize( Sabre_DAV_Server $server, $dom)

[line 64]

Serializes this property.

It will additionally prepend the href property with the server's base uri.

Tags:

  • access - public

Overrides Sabre_DAV_Property::serialize() (parent method not documented)

Parameters:

[ Top ]


Class Constants


Documentation generated on Mon, 31 May 2010 12:53:28 -0400 by phpDocumentor 1.4.3