|
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
| getItems () | |
| setItems (array $items) | |
| getSearchCriteria () | |
| setSearchCriteria (\Magento\Framework\Api\SearchCriteriaInterface $searchCriteria) | |
| getTotalCount () | |
| setTotalCount ($count) | |
Public Member Functions inherited from AbstractSimpleObject | |
| __construct (array $data=[]) | |
| setData ($key, $value) | |
| __toArray () | |
Data Fields | |
| const | KEY_ITEMS = 'items' |
| const | KEY_SEARCH_CRITERIA = 'search_criteria' |
| const | KEY_TOTAL_COUNT = 'total_count' |
Additional Inherited Members | |
Protected Member Functions inherited from AbstractSimpleObject | |
| _get ($key) | |
Protected Attributes inherited from AbstractSimpleObject | |
| $_data | |
SearchResults Service Data Object used for the search service requests
Definition at line 12 of file SearchResults.php.
| getItems | ( | ) |
Get items
Implements SearchResultsInterface.
Definition at line 23 of file SearchResults.php.
| getSearchCriteria | ( | ) |
Get search criteria
Implements SearchResultsInterface.
Definition at line 44 of file SearchResults.php.
| getTotalCount | ( | ) |
Get total count
Implements SearchResultsInterface.
Definition at line 65 of file SearchResults.php.
| setItems | ( | array | $items | ) |
Set items
Implements SearchResultsInterface.
Definition at line 34 of file SearchResults.php.
| setSearchCriteria | ( | \Magento\Framework\Api\SearchCriteriaInterface | $searchCriteria | ) |
Set search criteria
| SearchCriteriaInterface | $searchCriteria |
Implements SearchResultsInterface.
Definition at line 55 of file SearchResults.php.
| setTotalCount | ( | $count | ) |
Set total count
| int | $count |
Implements SearchResultsInterface.
Definition at line 76 of file SearchResults.php.
| const KEY_ITEMS = 'items' |
Definition at line 14 of file SearchResults.php.
| const KEY_SEARCH_CRITERIA = 'search_criteria' |
Definition at line 15 of file SearchResults.php.
| const KEY_TOTAL_COUNT = 'total_count' |
Definition at line 16 of file SearchResults.php.