abstract class ItemList (View source)

Properties

protected $sortColumnParameter
protected $sortDirectionParameter
protected $paginationPageParameter
protected $sortBy
protected $sortByDirection
protected $sortBySearchColumn
protected $enableAutomaticSorting
protected $autoSortColumns
protected $itemsPerPage
protected $debug
protected Pagination $pagination

Methods

executeSortBy($field, $direction = 'asc')

No description

executeSanitizedSortBy($field, $direction)

No description

executeGetResults()

No description

getResult($mixed)

No description

debugStart()

No description

debugStop()

No description

debug()

No description

isDebugged()

No description

sortBy($field, $direction = 'asc')

No description

sortBySearchColumn(Column $column, $direction = null)

No description

getSearchByColumn()

No description

sanitizedSortBy($field, $direction = 'asc')

No description

getResults()

Returns a full array of results.

getActiveSortColumn()

No description

isActiveSortColumn($field)

No description

disableAutomaticSorting()

No description

getSortClassName($column)

No description

getSortURL($column, $dir = 'asc', $url = false)

No description

getActiveSortDirection()

No description

getQuerySortColumnParameter()

No description

loadQueryStringPagingVariable()

Get paging parameter from Concrete configuration

setItemsPerPage($itemsPerPage)

No description

int
getItemsPerPage()

No description

int
getTotalResults()

Returns the total results in this item list.

getPagination() deprecated

Deprecated – call the pagination factory directly.

setupAutomaticSorting(StickyRequest $request = null)

No description

get() deprecated

No description

setNameSpace(mixed $nameSpace)

Allow to modify the auto-pagination parameters and the auto-sorting parameters

Details

abstract protected executeSortBy($field, $direction = 'asc')

No description

Parameters

$field
$direction

protected executeSanitizedSortBy($field, $direction)

No description

Parameters

$field
$direction

abstract executeGetResults()

No description

abstract getResult($mixed)

No description

Parameters

$mixed

abstract debugStart()

No description

abstract debugStop()

No description

debug()

No description

isDebugged()

No description

sortBy($field, $direction = 'asc')

No description

Parameters

$field
$direction

sortBySearchColumn(Column $column, $direction = null)

No description

Parameters

Column $column
$direction

getSearchByColumn()

No description

sanitizedSortBy($field, $direction = 'asc')

No description

Parameters

$field
$direction

getResults()

Returns a full array of results.

getActiveSortColumn()

No description

isActiveSortColumn($field)

No description

Parameters

$field

disableAutomaticSorting()

No description

getSortClassName($column)

No description

Parameters

$column

getSortURL($column, $dir = 'asc', $url = false)

No description

Parameters

$column
$dir
$url

getActiveSortDirection()

No description

getQuerySortColumnParameter()

No description

getQueryPaginationPageParameter()

No description

protected loadQueryStringPagingVariable()

Get paging parameter from Concrete configuration

getQuerySortDirectionParameter()

No description

setItemsPerPage($itemsPerPage)

No description

Parameters

$itemsPerPage

int getItemsPerPage()

No description

Return Value

int

abstract int getTotalResults()

Returns the total results in this item list.

Return Value

int

Pagination getPagination() deprecated

deprecated

Deprecated – call the pagination factory directly.

Return Value

Pagination

setupAutomaticSorting(StickyRequest $request = null)

No description

Parameters

StickyRequest $request

get() deprecated

deprecated

No description

setNameSpace(mixed $nameSpace)

Allow to modify the auto-pagination parameters and the auto-sorting parameters

Parameters

mixed $nameSpace

Content that will be added to the parameters