Inheritance diagram for GenieGate_View:

Public Member Functions | |
| param ($param=FALSE, $value=FALSE) | |
| Get/Set a named parameter. | |
| display () | |
| Display the view. | |
| getLink ($qry=array()) | |
| Returns a link to this page. | |
In english, this means that the PHP pages used to show the results of an operation are wrapped around a view object like this one.
The purpose of having View`s are to facilitate the design of multiple languages or relocation/re-implementation of the display. (such that we could send XML or something instead of a PHP document) without modifying a lot of code.
Views are "use once and throw away" objects, the same view should not be used across multiple requests, however, they could (in theory) be shown again and again.
Classes implementing View`s should extend this class to obtain any added functionality that can be emulated.
Definition at line 19 of file View.php.
|
|
Display the view. In this case, does nothing. (a "blank" view for Controller methods that "cheat" by sending output themselves.) Reimplemented in GenieGate_View_FlatFile, GenieGate_View_Ganged, GenieGate_View_Location, GenieGate_View_Mail, GenieGate_View_Php, GenieGate_View_VCard, and GenieGate_View_XMLExport. |
|
|
Returns a link to this page.
|
|
||||||||||||
|
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).
Definition at line 36 of file View.php. Referenced by GenieGate_View_XMLExport::display(). |
Documentation generated by DoxyGen