DAVResourceA class for things to do with a DAV Resource
Located in /inc/DAVResource.php (line 24)
| Class | Description |
|---|---|
WritableCollection
|
A class for things to do with a DAV Resource |
Constructor __construct (line 147)
Constructor
bound_from (line 1161)
Returns the dav_name of the resource we are bound to, within our internal namespace
BuildACE (line 1315)
BuildACE - construct an XMLElement subtree for a DAV::ace
BuildPrivileges (line 773)
Returns the array of privilege names converted into XMLElements
BuildSupportedMethods (line 862)
Returns the array of supported methods converted into XMLElements
BuildSupportedReports (line 914)
Returns the array of supported reports converted into XMLElements
BuildTicketinfo (line 975)
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.
collection_id (line 1216)
Returns the internal collection_id for this collection, or the collection containing this resource
ContainerExists (line 1129)
Checks whether the container for this resource actually exists, in the virtual sense, within the hierarchy
ContainerType (line 1281)
Return the type of whatever contains this resource, or would if it existed.
DAV_AllProperties (line 1449)
Return an array which is an expansion of the DAV::allprop
dav_name (line 1152)
Returns the dav_name of the resource in our internal namespace
Exists (line 1111)
Checks whether this resource actually exists, in the virtual sense, within the hierarchy
FetchCollection (line 481)
Find the collection associated with this resource.
FetchDeadProperties (line 620)
Fetch any dead properties for this URL
FetchParentContainer (line 715)
Fetch the parent to this resource. This is deprecated - use GetParentContainer() instead.
FetchPrincipal (line 568)
Find the principal associated with this resource.
FetchPrivileges (line 638)
Build permissions for this URL
FetchResource (line 591)
Retrieve the actual resource.
FetchSupportedMethods (line 785)
Returns the array of supported methods
FetchSupportedReports (line 876)
Returns the array of supported reports
FetchTickets (line 930)
Fetches an array of the access_ticket records applying to this path
FromPath (line 313)
Initialise from a path
FromRow (line 188)
Initialise from a database row
GetACL (line 1336)
Return ACL settings
GetParentContainer (line 696)
Get a DAVResource which is the parent to this resource.
GetProperty (line 1368)
Return general server-related properties, in plain form
GetPropStat (line 1765)
Construct XML propstat fragment for this resource
HavePrivilegeTo (line 736)
Is the user has the privileges to do what is requested.
IsAddressbook (line 1087)
Checks whether this resource is an addressbook
IsBinding (line 1095)
Checks whether this resource is a bind to another resource
IsCalendar (line 1055)
Checks whether this resource is a calendar
IsCollection (line 1039)
Checks whether this resource is a collection
IsExternal (line 1103)
Checks whether this resource is a bind to an external resource
IsInSchedulingCollection (line 1076)
Checks whether this resource is IN a scheduling inbox/outbox collection
IsLocked (line 1007)
Checks whether the resource is locked, returning any lock token, or false
IsPrincipal (line 1047)
Checks whether this resource is a principal
IsPublic (line 1265)
Checks whether the target collection is publicly_readable
IsPublicOnly (line 1273)
Checks whether the target collection is for public events only
IsSchedulingCollection (line 1064)
Checks whether this resource is a scheduling inbox/outbox collection
NeedPrivilege (line 758)
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 1182)
Returns the dav_name of the resource in our internal namespace
principal_url (line 1198)
Returns the principal-URL for this resource
Privileges (line 724)
Return the privileges bits for the current session user to this resource
RenderAsXML (line 1823)
Render XML for this resource
resource (line 1225)
Returns the database row for this resource
ResourceProperty (line 1468)
Return general server-related properties for this URL
resource_id (line 1251)
Returns the definitive resource_id for this resource - usually a dav_id
set_bind_location (line 1170)
Sets the dav_name of the resource we are bound as
unique_tag (line 1234)
Returns the unique_tag (ETag or getctag) for this resource
url (line 1141)
Returns the URL of our resource
user_no (line 1207)
Returns the internal user_no for the principal for this resource
Documentation generated on Fri, 13 Jan 2012 23:44:54 +1300 by phpDocumentor 1.4.3