Old class name for downwards compatibility
deprecated | [2012-07-12] This class was renamed to cGuiScrollList |
---|
__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.
inherited_from | \cGuiScrollList::convert() |
---|
Field index
Field value
getCurrentPage()
returns | Current page number |
---|---|
inherited_from | \cGuiScrollList::getCurrentPage() |
getNumPages()
returns | Amount of pages |
---|---|
inherited_from | \cGuiScrollList::getNumPages() |
onRenderColumn($column)
inherited_from | \cGuiScrollList::onRenderColumn() |
---|
onRenderRow($row)
inherited_from | \cGuiScrollList::onRenderRow() |
---|
The current row which is being rendered
render($return)
inherited_from | \cGuiScrollList::render() |
---|
If true, returns the list
setCustom($key, $custom)
$obj->setCustom($key, $custom);
inherited_from | \cGuiScrollList::setCustom() |
---|
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.
inherited_from | \cGuiScrollList::setData() |
---|
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.
inherited_from | \cGuiScrollList::setHeader() |
---|
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.
inherited_from | \cGuiScrollList::setHiddenData() |
---|
Numeric index
setListStart($startpage)
inherited_from | \cGuiScrollList::setListStart() |
---|
Page number on which the list display starts
setResultsPerPage($numresults)
inherited_from | \cGuiScrollList::setResultsPerPage() |
---|
Amount of records per page
setSortable($key, $sortable)
$obj->setSortable(true);
inherited_from | \cGuiScrollList::setSortable() |
---|
boolean true or false
sort($field, $order)
inherited_from | \cGuiScrollList::sort() |
---|
Field index
Sort order (see php's sort documentation)
$data
public | array |
---|---|
inherited_from | \cGuiScrollList::$$data |
$header
public | array |
---|---|
inherited_from | \cGuiScrollList::$$header |
$listStart
public | string |
---|---|
inherited_from | \cGuiScrollList::$$listStart |
$objHeaderItem
inherited_from | \cGuiScrollList::$$objHeaderItem |
---|
$objHeaderRow
inherited_from | \cGuiScrollList::$$objHeaderRow |
---|
$objItem
inherited_from | \cGuiScrollList::$$objItem |
---|
$objRow
inherited_from | \cGuiScrollList::$$objRow |
---|
$objTable
inherited_from | \cGuiScrollList::$$objTable |
---|
$resultsPerPage
public | string |
---|---|
inherited_from | \cGuiScrollList::$$resultsPerPage |
$sortable
public | string |
---|---|
inherited_from | \cGuiScrollList::$$sortable |
$sortlink
public | string |
---|---|
inherited_from | \cGuiScrollList::$$sortlink |