Methods

TODOBackendList()

TODOBackendList() 

Creates a new FrontendList object.

__construct($defaultstyle, $action) 
Inherited
inherited_from \cGuiScrollList::__construct()

Parameters

$defaultstyle

boolean use the default style for object initializing?

$action

Field converting facility.

convert($key, $value, $hidden) 

Needs to be overridden in the child class to work properbly.

Parameters

$key

$value

Field value

$hidden

Returns the current page.

getCurrentPage() 
Inherited
returns Current page number
inherited_from \cGuiScrollList::getCurrentPage()

Returns the amount of pages.

getNumPages() 
Inherited
returns Amount of pages
inherited_from \cGuiScrollList::getNumPages()

Is called when a new column is rendered

onRenderColumn($column) 

Parameters

$column

Is called when a new row is rendered

onRenderRow($row) 
Inherited
inherited_from \cGuiScrollList::onRenderRow()

Parameters

$row

The current row which is being rendered

Outputs or optionally returns

render($return) 
Inherited
inherited_from \cGuiScrollList::render()

Parameters

$return

If true, returns the list

Sets the custom parameters for sortable links

setCustom($key, $custom) 
Inherited

$obj->setCustom($key, $custom);

inherited_from \cGuiScrollList::setCustom()

Parameters

$key

Custom entry key

$custom

Custom entry value

Sets data.

setData($index) 
Inherited

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()

Parameters

$index

Numeric index

Sets header data.

setHeader() 
Inherited

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()

Sets hidden data.

setHiddenData($index) 
Inherited

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()

Parameters

$index

Numeric index

Sets the starting page number.

setListStart($startpage) 
Inherited
inherited_from \cGuiScrollList::setListStart()

Parameters

$startpage

Page number on which the list display starts

Sets the number of records per page.

setResultsPerPage($numresults) 
Inherited
inherited_from \cGuiScrollList::setResultsPerPage()

Parameters

$numresults

Amount of records per page

Sets the sortable flag for a specific row.

setSortable($key, $sortable) 
Inherited

$obj->setSortable(true);

inherited_from \cGuiScrollList::setSortable()

Parameters

$key

$sortable

boolean true or false

Sorts the list by a given field and a given order.

sort($field, $order) 
Inherited
inherited_from \cGuiScrollList::sort()

Parameters

$field

Field index

$order

Sort order (see php's sort documentation)

 Properties

 

$data 
Inherited
public array
inherited_from \cGuiScrollList::$$data
 

$header 
Inherited
public array
inherited_from \cGuiScrollList::$$header
 

$listStart 
Inherited
public string
inherited_from \cGuiScrollList::$$listStart
 

$objHeaderItem 
Inherited
inherited_from \cGuiScrollList::$$objHeaderItem
 

$objHeaderRow 
Inherited
inherited_from \cGuiScrollList::$$objHeaderRow
 

$objItem 
Inherited
inherited_from \cGuiScrollList::$$objItem
 

$objRow 
Inherited
inherited_from \cGuiScrollList::$$objRow
 

$objTable 
Inherited
inherited_from \cGuiScrollList::$$objTable
 

$resultsPerPage 
Inherited
public string
inherited_from \cGuiScrollList::$$resultsPerPage
 

$sortable 
Inherited
public string
inherited_from \cGuiScrollList::$$sortable
   

$statustypes