\CGExtensions\reportsreport_generator

An abstract class for a report generator.

Summary

Methods
Properties
Constants
__construct()
generate()
get_output()
No public properties found
No constants found
report()
start()
finish()
each_row()
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

generate()

generate() : void

Generate the report output.

get_output()

get_output() : mixed

Get the generated output.

This method may return textual data suitable for echoing/displaying. Or it it may generate a static file and return nothing.

Returns

mixed

start()

start() : void

A callback function when the report is started.

finish()

finish() : void

A callback function for when the report is finished.

each_row()

each_row(array $row)

A callback functon for each data row.

Parameters

array $row

The row returned from the query.