Class TableIteratorResultPrinter

Description

Print out an Iterator of items in rows and columns of TEXT_BLOCK widgets spread over multiple pages.

  • version: $Id: TableIteratorResultPrinter.class.php,v 1.17 2007/09/19 14:04:49 adamfranco Exp $
  • license: GNU General Public License (GPL)
  • copyright: Copyright © 2005, Middlebury College

Located in /polyphony/main/library/ResultPrinter/TableIteratorResultPrinter.class.php (line 25)

ResultPrinter
   |
   --TableIteratorResultPrinter
Method Summary
TableIteratorResultPrinter TableIteratorResultPrinter (object $iterator, string $headRow, integer $numResultsPerPage, string $callbackFunction, optional $tableBorder)
string getTable ([mixed $shouldPrintFunction = NULL], object Harmoni $harmoni, optional 1)
Methods
Constructor TableIteratorResultPrinter (line 42)

Constructor

  • access: public
TableIteratorResultPrinter TableIteratorResultPrinter (object $iterator, string $headRow, integer $numResultsPerPage, string $callbackFunction, optional $tableBorder)
  • object $iterator: The iterator to print.
  • string $headRow: The heading row.
  • integer $numResultsPerPage: The number of iterator items to print on a page.
  • string $callbackFunction: The name of the function that will be called to to print each result.
  • optional $tableBorder: mixed $callbackArgs Any additional arguements will be stored and passed on to the callback function.
getTable (line 80)

Returns a layout of the Results

  • return: A table string.
  • access: public
string getTable ([mixed $shouldPrintFunction = NULL], object Harmoni $harmoni, optional 1)
  • object Harmoni $harmoni: The Harmoni object containing context data.
  • optional 1: string $shouldPrintFunction The name of a function that will return a boolean specifying whether or not to filter a given result. If null, all results are printed.

Inherited Methods

Inherited From ResultPrinter

ResultPrinter::getPageLinks()
ResultPrinter::getStartingNumber()
ResultPrinter::setNamespace()
ResultPrinter::setStartingNumber()
ResultPrinter::startingNumberParam()

Documentation generated on Wed, 19 Sep 2007 10:27:04 -0400 by phpDocumentor 1.3.0RC3