Constructor
EmbeddedArrayResultPrinter
EmbeddedArrayResultPrinter
(mixed $array, integer $numColumns, integer $numResultsPerPage, string $callbackFunction, object $iterator, optional 4)
-
object
$iterator: The iterator to print.
-
integer
$numColumns: The number of result columns to print on each page.
-
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
4: mixed $callbackArgs Any additional arguements will be stored and passed on to the callback function.
Builds the footer row of this result table.
string
createFooterRow
()
Redefined in descendants as:
Builds the header row of this result table.
string
createHeaderRow
()
Redefined in descendants as:
Creates the HTML table element(s) for the passed content.
void
createItemElement
(string $content)
Redefined in descendants as:
Creates a table TD element with the passed content.
string
createTDElement
(string $content, optional $colspan, [optional $align = 'left'])
-
string
$content
-
optional
$colspan: integer $colspan The number of columns for this element to span.
-
optional
$align: string $align The text alignment.
Returns the starting tag of a TR element.
string
createTRElement
()
Redefined in descendants as:
Returns a block of HTML markup.
string
getMarkup
([optional $shouldPrintFunction = NULL])
-
optional
$shouldPrintFunction: 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.
Called if it is desired to override the page number that is displayed.
void
overridePageNumber
(mixed $number, integer $number
)
Sets the style of the TABLE element.
void
setTableStyle
(mixed $style)
Sets the style of the TD elements of this table.
void
setTDStyle
(mixed $style)
Sets the style of the TR elements of this table.
void
setTRStyle
(mixed $style)
Inherited Methods
Inherited From ResultPrinter
ResultPrinter::getPageLinks()
ResultPrinter::getStartingNumber()
ResultPrinter::setNamespace()
ResultPrinter::setStartingNumber()
ResultPrinter::startingNumberParam()