Class ResultPrinter

Description

This abstract class provides common methods for child classes

  • version: $Id: ResultPrinter.abstract.php,v 1.7 2007/09/19 14:04:49 adamfranco Exp $
  • license: GNU General Public License (GPL)
  • copyright: Copyright © 2005, Middlebury College
  • since: 12/7/05

Located in /polyphony/main/library/ResultPrinter/ResultPrinter.abstract.php (line 23)


	
			
Direct descendents
Class Description
ArrayResultPrinter Print out an Array of items in rows and columns of TEXT_BLOCK widgets spread over multiple pages.
EmbeddedArrayResultPrinter Print out an Array of items in rows and columns in a TABLE HTML element.
IteratorResultPrinter Print out an Iterator of items in rows and columns of TEXT_BLOCK widgets spread over multiple pages.
TableIteratorResultPrinter Print out an Iterator of items in rows and columns of TEXT_BLOCK widgets spread over multiple pages.
Method Summary
string getPageLinks (integer $startingNumber, integer $numItems)
integer getStartingNumber ()
void setNamespace (string $namespace)
void setStartingNumber (integer $startingNumber)
Methods
getPageLinks (line 99)

Return a string containing HTML links to other pages of the iterator.

if all items fit on one page, an empty string will be returned.

  • since: 12/7/05
  • access: public
string getPageLinks (integer $startingNumber, integer $numItems)
  • integer $startingNumber: The item number to start with.
  • integer $numItems: The total number of Items.
getStartingNumber (line 32)

Answer the number of the first asset on our current page

  • return: 1 through the total number of items
  • since: 5/11/06
  • access: public
integer getStartingNumber ()
setNamespace (line 84)

Set the namespace to use for page links, this is to limit conflict with other result printers on the page.

  • since: 9/18/06
  • access: public
void setNamespace (string $namespace)
  • string $namespace
setStartingNumber (line 59)

Set the starting number to use if none is passed

  • since: 5/15/06
  • access: public
void setStartingNumber (integer $startingNumber)
  • integer $startingNumber
startingNumberParam (line 71)

Answer the parameter name used to pass the starting number (for inclusion in other urls).

  • since: 5/11/06
  • access: public
string startingNumberParam ()

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