|
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
| __construct (array $searchTerms, $totalProductsCount) | |
| applySearchTermsToDescription (&$description, $currentProductIndex) | |
Class SearchTermManager
Class responsible for applying search terms to description based on search terms description
Definition at line 14 of file SearchTermManager.php.
| __construct | ( | array | $searchTerms, |
| $totalProductsCount | |||
| ) |
| array | $searchTerms | |
| int | $totalProductsCount |
Definition at line 35 of file SearchTermManager.php.
| applySearchTermsToDescription | ( | & | $description, |
| $currentProductIndex | |||
| ) |
Apply search terms to product description based on search terms use distribution
| string | $description | |
| int | $currentProductIndex |
Definition at line 49 of file SearchTermManager.php.