Class ItemList

Methods summary

abstract protected
# executeSortBy( $field, $direction = 'asc' )
protected
# executeSanitizedSortBy( $field, $direction )
abstract public
abstract public
# getResult( $mixed )
abstract public
abstract public
abstract protected Concrete\Core\Search\Pagination\Pagination
public
# debug( )
public
public
# sortBy( $field, $direction = 'asc' )
public
# sanitizedSortBy( $field, $direction = 'asc' )
public
# getResults( )

Returns a full array of results.

public
public
# isActiveSortColumn( $field )
public
public
# getSortClassName( $column )
public
# getSortURL( $column, $dir = 'asc', $url = false )
public
public
public
public
public
# setItemsPerPage( $itemsPerPage )
abstract public integer
# getTotalResults( )

Returns the total results in this item list.

public Concrete\Core\Search\Pagination\Pagination|Concrete\Core\Search\Pagination\PermissionablePagination
public
# setupAutomaticSorting( Concrete\Core\Search\StickyRequest $request = null )
public
# get( )

Properties summary

protected string $sortColumnParameter
# 'ccm_order_by'
protected string $sortDirectionParameter
# 'ccm_order_by_direction'
protected string $paginationPageParameter
# 'ccm_paging_p'
protected $sortBy
#
protected $sortByDirection
#
protected boolean $enableAutomaticSorting
# true
protected array $autoSortColumns
# array()
protected integer $itemsPerPage
# -1
protected boolean $debug
# false
protected Concrete\Core\Search\Pagination\Pagination $pagination
#