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.
Package: awl\Browser
Copyright: Catalyst IT Ltd, Morphoss Ltd <http://www.morphoss.com/>
License: GNU GPL v2 or later
Author: Andrew McMillan <andrew@mcmillan.net.nz>
Located at classBrowser.php
Copyright: Catalyst IT Ltd, Morphoss Ltd <http://www.morphoss.com/>
License: GNU GPL v2 or later
Author: Andrew McMillan <andrew@mcmillan.net.nz>
Located at classBrowser.php
public
|
#
BrowserColumn( string $field, string $header = "", string $align = "", string $format = "", string $sql = "", string $class = "", string $datatype = "", string $hook = null )
BrowserColumn constructor. Only the first parameter is mandatory. |
public
|
|
public
|
#
RenderHeader( string $order_field, string $order_direction, integer $browser_array_key = 0, string $forced_order = false )
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. |
public
|
|
public
|
public
mixed
|
$Field |
|
|
public
mixed
|
$Header |
|
|
public
mixed
|
$Format |
|
|
public
mixed
|
$Sql |
|
|
public
mixed
|
$Align |
|
|
public
mixed
|
$Class |
|
|
public
mixed
|
$Type |
|
|
public
mixed
|
$Translatable |
|
|
public
mixed
|
$Hook |
|
|
public
mixed
|
$current_row |
|