File/classBrowser.php

Description

Table browser / lister class

Browsers are constructed from BrowserColumns and can support sorting and other interactive behaviour. Cells may contain data which is formatted as a link, or the entire row may be linked through an onclick action.

Classes
Class Description
 class BrowserColumn BrowserColumns are the basic building blocks. You can specify just the field name, and the column header or you can get fancy and specify an alignment, format string, SQL formula and cell CSS class.
 class Browser Start a new Browser, add columns, set a join and Render it to create a basic list of records in a table.
Includes
 require_once ("AWLUtilities.php") (line 16)
Functions
BrowserColumnValueReplacement (line 32)

Return values from the current row for replacing into a template.

This is used to return values from the current row, so they can be inserted into a row template. It is used as a callback function for preg_replace_callback.

void BrowserColumnValueReplacement (array $matches)
  • array $matches: of string $matches An array containing a field name as offset 1

Documentation generated on Tue, 18 Nov 2008 18:08:53 +1300 by phpDocumentor 1.3.2