User management for the world wide web

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

GenieGate_View_XMLExport Class Reference

A "View" that is actually an export of all the data. More...

Inheritance diagram for GenieGate_View_XMLExport:

Inheritance graph
[legend]
Collaboration diagram for GenieGate_View_XMLExport:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 GenieGate_View_XMLExport (&$xml, $u, $g, $p)
 Construct an XML export View.

 display ()
 does the actual export.

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

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


Detailed Description

A "View" that is actually an export of all the data.

This is used to produce an XML dump of all the data.

Definition at line 7 of file XMLExport.php.


Constructor & Destructor Documentation

GenieGate_View_XMLExport &$  xml,
u,
g,
p
 

Construct an XML export View.

Parameters:
$xml - GenieGate_XMLWriter object (where results are sent to)
$u - GenieGate_UserAccount object.
$g - GenieGate_GropMod object.
$p - GenieGate_Properties object.

Definition at line 16 of file XMLExport.php.


Member Function Documentation

display  ) 
 

does the actual export.

When this method is called, the information is sent through the XMLWriter object specified in the constructor.

Reimplemented from GenieGate_View.

Definition at line 27 of file XMLExport.php.

References GenieGate_View::param().

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 display().


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