class SearchProvider extends AbstractSearchProvider implements QueryableInterface (View source)

Properties

protected $session from AbstractSearchProvider
protected FileCategory $category

Methods

__construct(FileCategory $category, Session $session)

No description

setSessionCurrentQuery(Query $query)

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)

Parameters

FileCategory $category
Session $session

setSessionCurrentQuery(Query $query)

Parameters

Query $query

clearSessionCurrentQuery()

getAllColumnSet()

getSessionCurrentQuery()

getSearchResultFromQuery(Query $query)

Parameters

Query $query

int getItemsPerPage()

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

Return Value

int

See also

\Concrete\Core\Search\AbstractSearchProvider::getItemsPerPage()

array getItemsPerPageOptions()

Return Value

array

See also

\Concrete\Core\Search\AbstractSearchProvider::getItemsPerPageOptions()

getSessionNamespace()

getCustomAttributeKeys()

See also

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

getAvailableColumnSet()

getCurrentColumnSet()

getBaseColumnSet()

getDefaultColumnSet()

getItemList()

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)

Parameters

$columns
$list

getSavedSearch()