Back to PhocacartUtilsSettings class

Method getAdditionalHitsType

public static
getAdditionalHitsType
(mixed $type)

Method getAdditionalHitsType - Source code

public static function getAdditionalHitsType($type)
{
    switch ($type) {
        case 2:
            return Text::_('COM_PHOCACART_SEARCH_TERM');
            break;
        case 1:
        default:
            return Text::_('COM_PHOCACART_PRODUCT_VIEW');
            break;
    }
}