BmfoGraph Class Reference

List of all members.

Public Member Functions

 BmfoGraph ($dbxconnection)
 draw ($strFacilityID, $dateStart, $dateEnd, $strFilename="", $dateVertical1="", $dateVertical2="")

Public Attributes

 $rdbms

Detailed Description

Renders images with graphs showing the flow through a meter over time.


Constructor & Destructor Documentation

BmfoGraph::BmfoGraph dbxconnection  ) 
 

Initialize the database connection for the class.

Parameters:
$dbxconnection is the database connection to be used.


Member Function Documentation

BmfoGraph::draw strFacilityID,
dateStart,
dateEnd,
strFilename = "",
dateVertical1 = "",
dateVertical2 = ""
 

Render an image displaying a graph displaying the flow through the meter over time.

Parameters:
$strFacilityID is the FacilityID of the meter.
$dateStart is the start of the period to graph (e.g. 2001-11-14 13:00).
$dateEnd is the end of the period to graph.
$strFilename is the optional filename of the image to be written.
$dateVertical1 is an optional date string where a vertical line should be drawn in the graph
$dateVertical2 is an optional date string where a vertical line should be drawn in the graph
Returns:
Nothing.


Member Data Documentation

BmfoGraph::$rdbms
 

The database connection.


The documentation for this class was generated from the following file:
Generated on Tue Sep 26 22:29:57 2006 for BMFO by  doxygen 1.4.6-NO