class SearchProvider extends AbstractSearchProvider implements QueryableInterface (View source)

Properties

protected $session from  AbstractSearchProvider
protected FileCategory $category

Methods

__construct(FileCategory $category, Session $session)

No description

getAllColumnSet()

No description

int
getItemsPerPage()

Gets items per page from the current preset or from the session.

array
getItemsPerPageOptions()

No description

getSessionNamespace()

No description

getCustomAttributeKeys()

No description

getAvailableColumnSet()

No description

getCurrentColumnSet()

No description

getBaseColumnSet()

No description

getDefaultColumnSet()

No description

getItemList()

No description

setItemsPerPageSession(int $itemsPerPage)

Set items per page option in session.

int|null
getItemsPerPageSession()

Retrieve the items per page option from the session.

clearItemsPerPageSession()

Clear the item per page option from the session.

createSearchResultObject($columns, $list)

No description

getSavedSearch()

No description

Details

__construct(FileCategory $category, Session $session)

No description

Parameters

FileCategory $category
Session $session

setSessionCurrentQuery(Query $query)

No description

Parameters

Query $query

clearSessionCurrentQuery()

No description

getAllColumnSet()

No description

getSessionCurrentQuery()

No description

getSearchResultFromQuery(Query $query)

No description

Parameters

Query $query

int getItemsPerPage()

Gets items per page from the current preset or from the session.

Return Value

int

See also

AbstractSearchProvider::getItemsPerPage

array getItemsPerPageOptions()

No description

getSessionNamespace()

No description

getCustomAttributeKeys()

No description

See also

\Concrete\Core\Attribute\Category\AbstractCategory::getCustomAttributeKeys()

getAvailableColumnSet()

No description

getCurrentColumnSet()

No description

getBaseColumnSet()

No description

getDefaultColumnSet()

No description

getItemList()

No description

setItemsPerPageSession(int $itemsPerPage)

Set items per page option in session.

Parameters

int $itemsPerPage

int|null getItemsPerPageSession()

Retrieve the items per page option from the session.

Return Value

int|null

clearItemsPerPageSession()

Clear the item per page option from the session.

createSearchResultObject($columns, $list)

No description

Parameters

$columns
$list

getSavedSearch()

No description