Class CalDAVPrincipal

Description

A class for things to do with a DAV Principal

Located in /inc/CalDAVPrincipal.php (line 25)


	
			
Variable Summary
 Whether $by_email
 draft-desruisseaux-caldav-sched-03: $schedule_inbox_url
 draft-desruisseaux-caldav-sched-03: $schedule_outbox_url
 The $url
Method Summary
 boolean CalDAVPrincipal ([mixed $parameters = null])
 void InitialiseRecord (object $usr)
 void UsernameFromPath (string $path, [array $options = null])
Variables
Whether $by_email (line 53)
  • var: or not we are using an e-mail address based URL.
RFC4791: $calendar_home_set (line 36)
  • var: Identifies the URL(s) of any WebDAV collections that contain calendar collections owned by the associated principal resource.
draft-desruisseaux-caldav-sched-03: $schedule_inbox_url (line 42)
  • var: Identify the URL of the scheduling Inbox collection owned by the associated principal resource.
draft-desruisseaux-caldav-sched-03: $schedule_outbox_url (line 48)
  • var: Identify the URL of the scheduling Outbox collection owned by the associated principal resource.
The $url (line 30)
  • var: home URL of the principal
Methods
Constructor CalDAVPrincipal (line 63)

Constructor

  • return: Whether we actually read data from the DB to initialise the record.
boolean CalDAVPrincipal ([mixed $parameters = null])
  • mixed $parameters: If null, an empty Principal is created. If it is an integer then that ID is read (if possible). If it is an array then the Principal matching the supplied elements is read.
InitialiseRecord (line 103)

Initialise the Principal object from a $usr record from the DB.

void InitialiseRecord (object $usr)
  • object $usr: The usr record from the DB.
UsernameFromPath (line 140)

Work out the username, based on elements of the path.

void UsernameFromPath (string $path, [array $options = null])
  • string $path: The path to be used.
  • array $options: The request options, controlling whether e-mail paths are allowed.

Documentation generated on Sun, 19 Oct 2008 21:25:38 +1300 by phpDocumentor 1.3.2