CategoryItemContext
Context class with additional data, required for all item category views.
Namespace
Ceres\Contexts
Extends
Implements
Type | Name | Description |
---|---|---|
|
Current page of items. |
|
|
Last page for items. |
|
|
How many items are included in one page. |
|
|
Deprecated: since 5.0.20 will be removed in 6.0.0 |
|
|
Count of all items in the item result. |
|
|
Sorting key for the item result. |
|
|
Contains items per page count and the sorting key for the item result. |
|
|
Suggestion for the shop search. |
|
|
Item result. |
|
|
Facets that were selected to filter the item result. |
|
|
Methods
public init($params)
Type |
Name |
Description |
|
public initItemList($defaultSearchFactories, $options, $scope = \Ceres\Helper\SearchOptions::SCOPE_CATEGORY)
Type |
Name |
Description |
|
Search factories to request the item data. |
|
|
Search options to filter the item data. |
|
|
The scope where the search is executed from. |