BrowserColumnBrowserColumns 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.
Located in /classBrowser.php (line 63)
BrowserColumn
BrowserColumn
(string $field, [string $header = ""], [string $align = ""], [string $format = ""], [string $sql = ""], [string $class = ""], [string $datatype = ""], [string $hook = null])
Constructor BrowserColumn (line 100)
BrowserColumn constructor. Only the first parameter is mandatory.
The name of a global function which will preprocess the column value
The hook function should be defined as follows: function hookfunction( $column_value, $column_name, $database_row ) { ... return $value; }
GetTarget (line 117)
GetTarget
Retrieves a 'field' or '...SQL... AS field' definition for the target list of the SQL.
RenderHeader (line 134)
RenderHeader
Renders the column header cell for this column. This will be rendered as a <th>...</th> with class and alignment applied to it. Browser column headers are clickable, and the ordering will also display an 'up' or 'down' triangle with the column header that the SQL is sorted on at the moment.
RenderValue (line 162)
SetTranslatable (line 158)
Documentation generated on Tue, 18 Nov 2008 18:08:54 +1300 by phpDocumentor 1.3.2