Class RSCDSUser

Description

A class for viewing and maintaining DAViCal User records

Located in /inc/RSCDSUser.php (line 24)

User
   |
   --RSCDSUser
Variable Summary
Method Summary
 RSCDSUser RSCDSUser ( $id, [ $prefix = ""])
 boolean AllowedTo (string $whatever)
 void HandleAction ( $action)
 string Render ([ $title = ""])
 string RenderCollections ( $ef, [ $title = null])
 string RenderImportIcs ( $ef, [ $title = null])
 string RenderRelationshipsFrom ( $ef, [ $title = null])
 string RenderRelationshipsTo ( $ef, [ $title = null])
 boolean Validate ()
 void Write ()
Variables
mixed $delete_collection_confirmation_required (line 27)
Methods
Constructor RSCDSUser (line 32)

Constructor - nothing fancy as yet.

RSCDSUser RSCDSUser ( $id, [ $prefix = ""])
  • $id
  • $prefix
AllowedTo (line 293)

Extend parent definition of what the current user is allowed to do

  • return: Whether they are allowed to.
boolean AllowedTo (string $whatever)
  • string $whatever: What the user wants to do
HandleAction (line 321)

Handle any unusual actions we might invent

void HandleAction ( $action)
  • $action
Render (line 41)

Render the form / viewer as HTML to show the user

  • return: An HTML fragment to display in the page.
string Render ([ $title = ""])
  • $title
RenderCollections (line 238)

Render the user's collections

  • return: The string of html to be output
string RenderCollections ( $ef, [ $title = null])
  • $ef
  • $title
RenderImportIcs (line 86)

Render input file to import ics in calendar user

  • return: The string of html to be output
string RenderImportIcs ( $ef, [ $title = null])
  • $ef
  • $title
RenderRelationshipsFrom (line 108)

Render the user's relationships to other users & resources

  • return: The string of html to be output
string RenderRelationshipsFrom ( $ef, [ $title = null])
  • $ef
  • $title
RenderRelationshipsTo (line 156)

Render the user's relationships to other users & resources

  • return: The string of html to be output
string RenderRelationshipsTo ( $ef, [ $title = null])
  • $ef
  • $title
Validate (line 283)

Validate the information the user submitted

  • return: Whether the form data validated OK.
boolean Validate ()
Write (line 374)

Write the record to the file

void Write ()

Documentation generated on Fri, 10 Apr 2009 23:45:54 +1200 by phpDocumentor 1.3.2