Class: Sabre_CalDAV_UserCalendars

Source Location: /includes/classes/SabreDAV/lib/Sabre/CalDAV/UserCalendars.php

Class Overview [line 12]


The UserCalenders class contains all calendars associated to one user

Author(s):

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

Version:

Copyright:

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

Variables

Constants

Methods


Implements interfaces

Inherited Variables

Inherited Constants

Inherited Methods



Class Details

The UserCalenders class contains all calendars associated to one user

Tags:

[ Top ]


Class Variables


Class Methods

__construct

Sabre_CalDAV_UserCalendars __construct( Sabre_DAV_Auth_Backend_Abstract $authBackend, Sabre_CalDAV_Backend_Abstract $caldavBackend, mixed $userUri)

[line 35]

Constructor

Tags:

  • access - public

Parameters:

[ Top ]

createDirectory

void createDirectory( string $filename)

[line 112]

Creates a new directory under this object.

This is currently not allowed.

Tags:

  • access - public

Implementation of:
Sabre_DAV_ICollection::createDirectory()
Creates a new subdirectory

Parameters:

  • string $filename -

[ Top ]

createExtendedCollection

void createExtendedCollection( string $name, $resourceType, $properties)

[line 159]

Creates a new calendar

Tags:

  • access - public

Implementation of:
Sabre_DAV_IExtendedCollection::createExtendedCollection()
Creates a new collection

Parameters:

  • string $name -
  • string $properties -
  • array $resourceType -

[ Top ]

createFile

void createFile( string $filename, [resource $data = null])

[line 98]

Creates a new file under this object.

This is currently not allowed

Tags:

  • access - public

Implementation of:
Sabre_DAV_ICollection::createFile()
Creates a new file in the directory

Parameters:

  • string $filename -
  • resource $data -

[ Top ]

delete

void delete( )

[line 72]

Deletes this object

Tags:

  • access - public

Implementation of:
Sabre_DAV_INode::delete()
Deleted the current node

Parameters:

[ Top ]

getChild

Sabre_CalDAV_Calendar getChild( string $name)

[line 125]

Returns a single calendar, by name

Tags:

  • todo - needs optimizing
  • access - public

Implementation of:
Sabre_DAV_ICollection::getChild()
Returns a specific child node, referenced by its name

Parameters:

  • string $name -

[ Top ]

getChildren

array getChildren( )

[line 141]

Returns a list of calendars

Tags:

  • access - public

Implementation of:
Sabre_DAV_ICollection::getChildren()
Returns an array with all the child nodes

Parameters:

[ Top ]

getLastModified

int getLastModified( )

[line 83]

Returns the last modification date

Tags:

  • access - public

Implementation of:
Sabre_DAV_INode::getLastModified()
Returns the last modification time, as a unix timestamp

Parameters:

[ Top ]

getName

string getName( )

[line 48]

Returns the name of this object

Tags:

  • access - public

Implementation of:
Sabre_DAV_INode::getName()
Returns the name of the node

Parameters:

[ Top ]

setName

void setName( string $name)

[line 61]

Updates the name of this object

Tags:

  • access - public

Implementation of:
Sabre_DAV_INode::setName()
Renames the node

Parameters:

  • string $name -

[ Top ]


Class Constants


Documentation generated on Mon, 31 May 2010 12:54:17 -0400 by phpDocumentor 1.4.3