|
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
| __construct (\Magento\Framework\App\Config\ScopeConfigInterface $scopeConfig, \Magento\Search\Model\ResourceModel\Query\Collection $queryCollection) | |
| isCacheable (string $term, int $storeId) | |
Data Fields | |
| const | XML_PATH_MAX_COUNT_CACHEABLE_SEARCH_TERMS = 'catalog/search/max_count_cacheable_search_terms' |
Popular search terms
Definition at line 12 of file PopularSearchTerms.php.
| __construct | ( | \Magento\Framework\App\Config\ScopeConfigInterface | $scopeConfig, |
| \Magento\Search\Model\ResourceModel\Query\Collection | $queryCollection | ||
| ) |
| \Magento\Framework\App\Config\ScopeConfigInterface | $scopeConfig | |
Definition at line 34 of file PopularSearchTerms.php.
| isCacheable | ( | string | $term, |
| int | $storeId | ||
| ) |
Check if is cacheable search term
| string | $term | |
| int | $storeId |
Definition at line 49 of file PopularSearchTerms.php.
| const XML_PATH_MAX_COUNT_CACHEABLE_SEARCH_TERMS = 'catalog/search/max_count_cacheable_search_terms' |
Definition at line 14 of file PopularSearchTerms.php.