SortingHelper

Deprecated!

since 5.0.0 will be deleted in 6.0.0

Namespace

IO\Services\ItemSearch\Helper

Methods
public getSorting($sortingConfig = null, $isCategory = true):array
Deprecated!

since 5.0.0 will be deleted in 6.0.0

Get sorting values from plugin configuration

Parameters

Type

Name

Description

string

$sortingConfig

The configuration value from plugin

bool

$isCategory

Get default sorting configuration for category or for search

public getCategorySorting($sortingConfig = null):array
Deprecated!

since 5.0.0 will be deleted in 6.0.0

Get sorting values for categories from config

Parameters

Type

Name

Description

string

$sortingConfig

The configuration value

public getSearchSorting($sortingConfig = null):array
Deprecated!

since 5.0.0 will be deleted in 6.0.0

Get sorting values for searches from config

Parameters

Type

Name

Description

string

$sortingConfig

The configuration value

public getUsedItemName():string
Deprecated!

since 5.0.0 will be deleted in 6.0.0

public splitPathAndOrder($sorting):array
Deprecated!

since 5.0.0 will be deleted in 6.0.0

Parameters

Type

Name

Description

string

$sorting