Class Sabre_DAV_Property_Principal

Description

Implements interfaces:

Principal property

The principal property represents a principal from RFC3744 (ACL). The property can be used to specify a principal or pseudo principals.

  • author: Evert Pot (http://www.rooftopsolutions.nl/)
  • copyright: Copyright (C) 2007-2010 Rooftop Solutions. All rights reserved.
  • license: Modified BSD License

Located in /sources_custom/Sabre/DAV/Property/Principal.php (line 15)

Sabre_DAV_Property
   |
   --Sabre_DAV_Property_Principal
Class Constant Summary
Method Summary
void __construct (int $type, [string $href = null])
string getHref ()
int getType ()
void serialize (Sabre_DAV_Server $server,  $node)
Methods
Constructor __construct (line 61)

Creates the property.

The 'type' argument must be one of the type constants defined in this class.

'href' is only required for the HREF type.

  • access: public
void __construct (int $type, [string $href = null])
  • int $type
  • string $href
getHref (line 88)

Returns the principal uri.

  • access: public
string getHref ()

Implementation of:
Sabre_DAV_Property_IHref::getHref()
getHref
getType (line 77)

Returns the principal type

  • access: public
int getType ()
serialize (line 101)

Serializes the property into a DOMElement.

  • access: public
void serialize (Sabre_DAV_Server $server,  $node)

Redefinition of:
Sabre_DAV_Property::serialize()

Inherited Methods

Inherited From Sabre_DAV_Property

Sabre_DAV_Property::serialize()
Sabre_DAV_Property::unserialize()
Class Constants
AUTHENTICATED = 2 (line 25)

To specify any principal that is logged in, use AUTHENTICATED

HREF = 3 (line 30)

Specific princpals can be specified with the HREF

UNAUTHENTICATED = 1 (line 20)

To specify a not-logged-in user, use the UNAUTHENTICTED principal

Documentation generated on Sun, 02 Jan 2011 23:23:01 +0000 by phpDocumentor 1.4.3