__construct($defaultstyle, $action)
boolean use the default style for object initializing?
convert($field, $value, $hiddendata)
Needs to be overridden in the child class to work properbly.
Field index
Field value
getCurrentPage()
| returns | Current page number |
|---|
getNumPages()
| returns | Amount of pages |
|---|
onRenderColumn($column)
onRenderRow($row)
The current row which is being rendered
render($return)
If true, returns the list
setCustom($key, $custom)
$obj->setCustom($key, $custom);
Custom entry key
Custom entry value
setData($index)
Note: This public function eats as many parameters as you specify.
Example: $obj->setData(0, "foo", "bar");
Make sure that the amount of parameters stays the same for all setData calls in a single object. Also make sure that your index starts from 0 and ends with the actual number - 1.
Numeric index
setHeader()
Note: This public function eats as many parameters as you specify.
Example: $obj->setHeader("foo", "bar");
Make sure that the amount of parameters stays the same for all setData calls in a single object.
setHiddenData($index)
Note: This public function eats as many parameters as you specify.
Example: $obj->setHiddenData(0, "foo", "bar");
Make sure that the amount of parameters stays the same for all setData calls in a single object. Also make sure that your index starts from 0 and ends with the actual number - 1.
Numeric index
setListStart($startpage)
Page number on which the list display starts
setResultsPerPage($numresults)
Amount of records per page
setSortable($key, $sortable)
$obj->setSortable(true);
boolean true or false
sort($field, $order)
Field index
Sort order (see php's sort documentation)
$data
| public | array |
|---|
$header
| public | array |
|---|
$listStart
| public | string |
|---|
$objHeaderItem
$objHeaderRow
$objItem
$objRow
$objTable
$resultsPerPage
| public | string |
|---|
$sortable
| public | string |
|---|
$sortlink
| public | string |
|---|