Class DAViCalUser

Description

A class for viewing and maintaining DAViCal User records

Located in /inc/DAViCalUser.php (line 25)

User
   |
   --DAViCalUser
Variable Summary
Method Summary
 DAViCalUser DAViCalUser ( $id, [ $prefix = ''])
 boolean AllowedTo (string $whatever)
 void HandleAction ( $action)
 string Render ([ $title = ''])
 string RenderCollections ( $ef, [ $title = null])
 string RenderRelationshipsFrom ( $ef, [ $title = null])
 string RenderRelationshipsTo ( $ef, [ $title = null])
 boolean Validate ()
 void Write ()
Variables
mixed $delete_collection_confirmation_required (line 28)
mixed $delete_user_confirmation_required (line 29)
Methods
Constructor DAViCalUser (line 34)

Constructor - nothing fancy as yet.

DAViCalUser DAViCalUser ( $id, [ $prefix = ''])
  • $id
  • $prefix
AllowedTo (line 319)

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 347)

Handle any unusual actions we might invent

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

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 240)

Render the user's collections

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

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 309)

Validate the information the user submitted

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

Write the record to the file

void Write ()

Documentation generated on Tue, 06 Oct 2009 02:03:08 -0700 by phpDocumentor 1.3.2