Class HTMLExport

Description

Construct an HTML export from array representation

Located in /inc/export/htmlexport.php (line 29)


	
			
Variable Summary
boolean $bigtable
string $export
string $header
Method Summary
HTMLExport HTMLExport (ArrayExport &$exportArray)
void makeHTMLBuffer ()
string wrapHTMLBuffer ()
string _formatCellHTML ( $d,  $isHeader)
string _formatRowHTML ( $row, [ $isHeader = false])
Variables
boolean $bigtable = true (line 33)
  • var: export the data as one big table with header rows between sections
ArrayExport $ea (line 35)
  • var: data to export
string $export (line 31)
  • var: html-rendered data
string $header (line 37)
  • var: header to the report
Methods
Constructor HTMLExport (line 44)

Create the HTMLExport object

HTMLExport HTMLExport (ArrayExport &$exportArray)
makeHTMLBuffer (line 51)

convert the 2D array into an HTML table representation of the data

void makeHTMLBuffer ()
wrapHTMLBuffer (line 203)

embed the html within a blank page to create the report in a separate window

  • return: html snippet that will open a new window with the html report
  • todo: //TODO: potential memory hog (stores HTML output in three places at once)
string wrapHTMLBuffer ()
_formatCellHTML (line 172)

generate the HTML for a single cell

  • return: cell
string _formatCellHTML ( $d,  $isHeader)
  • $d
  • $isHeader
_formatRowHTML (line 158)

generate the HTML for a row

  • return: row
string _formatRowHTML ( $row, [ $isHeader = false])
  • $row
  • $isHeader

Documentation generated on Tue, 06 Mar 2007 10:01:34 +0000 by phpDocumentor 1.3.0