DAVResourceA class for things to do with a DAV Resource
Located in /inc/DAVResource.php (line 23)
| Class | Description |
|---|---|
WritableCollection
|
A class for things to do with a DAV Resource |
Constructor __construct (line 146)
Constructor
bound_from (line 1138)
Returns the dav_name of the resource we are bound to, within our internal namespace
BuildACE (line 1284)
BuildACE - construct an XMLElement subtree for a DAV::ace
BuildPrivileges (line 762)
Returns the array of privilege names converted into XMLElements
BuildSupportedMethods (line 851)
Returns the array of supported methods converted into XMLElements
BuildSupportedReports (line 903)
Returns the array of supported reports converted into XMLElements
BuildTicketinfo (line 964)
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 1193)
Returns the internal collection_id for this collection, or the collection containing this resource
ContainerExists (line 1106)
Checks whether the container for this resource actually exists, in the virtual sense, within the hierarchy
ContainerType (line 1250)
Return the type of whatever contains this resource, or would if it existed.
DAV_AllProperties (line 1413)
Return an array which is an expansion of the DAV::allprop
dav_name (line 1129)
Returns the dav_name of the resource in our internal namespace
Exists (line 1088)
Checks whether this resource actually exists, in the virtual sense, within the hierarchy
FetchCollection (line 470)
Find the collection associated with this resource.
FetchDeadProperties (line 609)
Fetch any dead properties for this URL
FetchParentContainer (line 704)
Fetch the parent to this resource.
FetchPrincipal (line 557)
Find the principal associated with this resource.
FetchPrivileges (line 627)
Build permissions for this URL
FetchResource (line 580)
Retrieve the actual resource.
FetchSupportedMethods (line 774)
Returns the array of supported methods
FetchSupportedReports (line 865)
Returns the array of supported reports
FetchTickets (line 919)
Fetches an array of the access_ticket records applying to this path
FromPath (line 301)
Initialise from a path
FromRow (line 187)
Initialise from a database row
GetACL (line 1305)
Return ACL settings
GetParentContainer (line 685)
Get a DAVResource which is the parent to this resource.
GetProperty (line 1337)
Return general server-related properties, in plain form
GetPropStat (line 1724)
Construct XML propstat fragment for this resource
HavePrivilegeTo (line 725)
Is the user has the privileges to do what is requested.
IsAddressbook (line 1064)
Checks whether this resource is an addressbook
IsBinding (line 1072)
Checks whether this resource is a bind to another resource
IsCalendar (line 1044)
Checks whether this resource is a calendar
IsCollection (line 1028)
Checks whether this resource is a collection
IsExternal (line 1080)
Checks whether this resource is a bind to an external resource
IsLocked (line 996)
Checks whether the resource is locked, returning any lock token, or false
IsPrincipal (line 1036)
Checks whether this resource is a principal
IsPublic (line 1242)
Checks whether the target collection is publicly_readable
IsSchedulingCollection (line 1053)
Checks whether this resource is a calendar
NeedPrivilege (line 747)
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 1159)
Returns the dav_name of the resource in our internal namespace
principal_url (line 1175)
Returns the principal-URL for this resource
Privileges (line 713)
Return the privileges bits for the current session user to this resource
RenderAsXML (line 1782)
Render XML for this resource
resource (line 1202)
Returns the database row for this resource
ResourceProperty (line 1432)
Return general server-related properties for this URL
resource_id (line 1228)
Returns the definitive resource_id for this resource - usually a dav_id
set_bind_location (line 1147)
Sets the dav_name of the resource we are bound as
unique_tag (line 1211)
Returns the unique_tag (ETag or getctag) for this resource
url (line 1118)
Returns the URL of our resource
user_no (line 1184)
Returns the internal user_no for the principal for this resource
Documentation generated on Mon, 24 Oct 2011 20:09:27 +1300 by phpDocumentor 1.4.3