User management for the world wide web

Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members

GenieGate_View_VCard Class Reference

An extremely simplified VCARD view. More...

Inheritance diagram for GenieGate_View_VCard:

Inheritance graph
[legend]
Collaboration diagram for GenieGate_View_VCard:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 GenieGate_View_VCard ($uid, $ua, $pm)
 Construct this view.

 display ()
 Display the view.

 send_vcard ($uid)
 Display a single vCard.

 param ($param=FALSE, $value=FALSE)
 Get/Set a named parameter.

 getLink ($qry=array())
 Returns a link to this page.


Detailed Description

An extremely simplified VCARD view.

This View is a vCard representation of a user. It uses the properties and user fields to create a vCard that is suitable for working with GnomeCard, has not been tested in other vCard implementations, but it should work with them as well.

Definition at line 9 of file VCard.php.


Constructor & Destructor Documentation

GenieGate_View_VCard uid,
ua,
pm
 

Construct this view.

Parameters:
$uid - The user ID to display.
$ua - A GenieGate_UserAccount object.
$pm - A GenieGate_Properties object.

Definition at line 21 of file VCard.php.


Member Function Documentation

display  ) 
 

Display the view.

In this case, does nothing. (a "blank" view for Controller methods that "cheat" by sending output themselves.)

Reimplemented from GenieGate_View.

Definition at line 34 of file VCard.php.

References send_vcard().

getLink qry = array()  )  [inherited]
 

Returns a link to this page.

Parameters:
$qry - An array of Key => Value pairs to be urlencoded.
Returns:
a string with a link to this page.

Definition at line 66 of file View.php.

param param = FALSE,
value = FALSE
[inherited]
 

Get/Set a named parameter.

With no parameters, returns an associative array of all the available parameters. (Same as $view->PARAM, but encapsulated)

With 1 parameter, ($param) just returns the value of the named parameter.

With 2 parameters, assigns $param a new value (returns old value).

Parameters:
$param - The parameter name.
$value - The value to assign it to.

Definition at line 36 of file View.php.

Referenced by GenieGate_View_XMLExport::display().

send_vcard uid  ) 
 

Display a single vCard.

This looks in the genie.form.Public and genie.form.Private property sections for properties.

Parameters:
$uid - The User ID to show.

Definition at line 45 of file VCard.php.

Referenced by display().


The documentation for this class was generated from the following file:
DoxyGen Documentation generated by DoxyGen