SortingHelper
Generate sorting values from plugin configuration.
Namespace
IO\Services\ItemSearch\Helper
Methods
public static getSorting($sortingConfig = null, $isCategory = true):array
Get sorting values from plugin configuration
Type |
Name |
Description |
|
The configuration value from plugin |
|
|
Get default sorting configuration for category or for search |
public static getCategorySorting($sortingConfig = null):array
Get sorting values for categories from config
Type |
Name |
Description |
|
The configuration value |
public static getSearchSorting($sortingConfig = null):array
Get sorting values for searches from config
Type |
Name |
Description |
|
The configuration value |
public static getUsedItemName():string
public static splitPathAndOrder($sorting)
Type |
Name |
Description |
|
Thank you for your feedback!