DAVResourceA class for things to do with a DAV Resource
Located in /inc/DAVResource.php (line 21)
| Class | Description |
|---|---|
WritableCollection
|
A class for things to do with a DAV Resource |
Constructor __construct (line 139)
Constructor
bound_from (line 1048)
Returns the dav_name of the resource we are bound to, within our internal namespace
BuildACE (line 1173)
BuildACE - construct an XMLElement subtree for a DAV::ace
BuildPrivileges (line 680)
Returns the array of privilege names converted into XMLElements
BuildSupportedMethods (line 769)
Returns the array of supported methods converted into XMLElements
BuildSupportedReports (line 821)
Returns the array of supported reports converted into XMLElements
BuildTicketinfo (line 882)
Returns the array of tickets converted into XMLElements
If the current user does not have DAV::read-acl privilege on this resource they will only get to see the tickets where they are the owner, or which they supplied along with the request.
ContainerExists (line 1016)
Checks whether the container for this resource actually exists, in the virtual sense, within the hierarchy
ContainerType (line 1139)
Return the type of whatever contains this resource, or would if it existed.
DAV_AllProperties (line 1296)
Return an array which is an expansion of the DAV::allprop
dav_name (line 1039)
Returns the dav_name of the resource in our internal namespace
Exists (line 998)
Checks whether this resource actually exists, in the virtual sense, within the hierarchy
FetchCollection (line 301)
Find the collection associated with this resource.
FetchDeadProperties (line 538)
Fetch any dead properties for this URL
FetchParentContainer (line 554)
Fetch the parent to this resource.
FetchPrincipal (line 485)
Find the principal associated with this resource.
FetchPrivileges (line 573)
Build permissions for this URL
FetchResource (line 509)
Retrieve the actual resource.
FetchSupportedMethods (line 692)
Returns the array of supported methods
FetchSupportedReports (line 783)
Returns the array of supported reports
FetchTickets (line 837)
Fetches an array of the access_ticket records applying to this path
FromPath (line 281)
Initialise from a path
FromRow (line 179)
Initialise from a database row
GetACL (line 1194)
Return ACL settings
GetProperty (line 1225)
Return general server-related properties, in plain form
GetPropStat (line 1592)
Construct XML propstat fragment for this resource
HavePrivilegeTo (line 643)
Is the user has the privileges to do what is requested.
IsAddressbook (line 982)
Checks whether this resource is an addressbook
IsBinding (line 990)
Checks whether this resource is a bind to another resource
IsCalendar (line 962)
Checks whether this resource is a calendar
IsCollection (line 946)
Checks whether this resource is a collection
IsLocked (line 914)
Checks whether the resource is locked, returning any lock token, or false
IsPrincipal (line 954)
Checks whether this resource is a principal
IsPublic (line 1131)
Checks whether the target collection is publicly_readable
IsSchedulingCollection (line 971)
Checks whether this resource is a calendar
NeedPrivilege (line 665)
Check if we have the needed privilege or send an error response. If the user does not have the privileges then the call will not return, and an XML error document will be output.
parent_path (line 1069)
Returns the dav_name of the resource in our internal namespace
principal_url (line 1085)
Returns the principal-URL for this resource
Privileges (line 631)
Return the privileges bits for the current session user to this resource
RenderAsXML (line 1650)
Render XML for this resource
resource (line 1094)
Returns the database row for this resource
ResourceProperty (line 1315)
Return general server-related properties for this URL
resource_id (line 1117)
Returns the definitive resource_id for this resource - usually a dav_id
set_bind_location (line 1057)
Sets the dav_name of the resource we are bound as
unique_tag (line 1103)
Returns the unique_tag (ETag or getctag) for this resource
url (line 1028)
Returns the URL of our resource
Documentation generated on Tue, 28 Dec 2010 02:16:03 +1300 by phpDocumentor 1.4.3