SilverCommerce\ComplexCategory\ComplexCategory::getCurrentOption
Return the current option from the URL
Signature
public function getCurrentOption(array
$options,
[string
$type = "sort"] )
Parameters
$options
— array- An array of options to check
$type
— string- Either "sort" or "limit"
Returns
- string