Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
getFilterGroups () | |
getSortOrders () | |
getPageSize () | |
getCurrentPage () | |
setFilterGroups (array $filterGroups=null) | |
setSortOrders (array $sortOrders=null) | |
setPageSize ($pageSize) | |
setCurrentPage ($currentPage) | |
![]() | |
__construct (array $data=[]) | |
setData ($key, $value) | |
__toArray () | |
Data Fields | |
const | FILTER_GROUPS = 'filter_groups' |
const | SORT_ORDERS = 'sort_orders' |
const | PAGE_SIZE = 'page_size' |
const | CURRENT_PAGE = 'current_page' |
Additional Inherited Members | |
![]() | |
_get ($key) | |
![]() | |
$_data | |
Data Object for SearchCriteria @codeCoverageIgnore
Definition at line 13 of file SearchCriteria.php.
getCurrentPage | ( | ) |
Get current page.
Implements SearchCriteriaInterface.
Definition at line 59 of file SearchCriteria.php.
getFilterGroups | ( | ) |
Get a list of filter groups.
Implements SearchCriteriaInterface.
Definition at line 28 of file SearchCriteria.php.
getPageSize | ( | ) |
Get page size.
Implements SearchCriteriaInterface.
Definition at line 49 of file SearchCriteria.php.
getSortOrders | ( | ) |
Get sort order.
Implements SearchCriteriaInterface.
Definition at line 39 of file SearchCriteria.php.
setCurrentPage | ( | $currentPage | ) |
Set current page.
int | $currentPage |
Implements SearchCriteriaInterface.
Definition at line 103 of file SearchCriteria.php.
setFilterGroups | ( | array | $filterGroups = null | ) |
Set a list of filter groups.
Implements SearchCriteriaInterface.
Definition at line 70 of file SearchCriteria.php.
setPageSize | ( | $pageSize | ) |
Set page size.
int | $pageSize |
Implements SearchCriteriaInterface.
Definition at line 92 of file SearchCriteria.php.
setSortOrders | ( | array | $sortOrders = null | ) |
Set sort order.
Implements SearchCriteriaInterface.
Definition at line 81 of file SearchCriteria.php.
const CURRENT_PAGE = 'current_page' |
Definition at line 21 of file SearchCriteria.php.
const FILTER_GROUPS = 'filter_groups' |
#+ Constants for Data Object keys
Definition at line 18 of file SearchCriteria.php.
const PAGE_SIZE = 'page_size' |
Definition at line 20 of file SearchCriteria.php.
const SORT_ORDERS = 'sort_orders' |
Definition at line 19 of file SearchCriteria.php.