Back to PhocacartRenderIcon class

Method getIconType

public static
getIconType
()

Method getIconType - Source code

/*
 * @deprecated
 */
public static function getIconType()
{
    if (self::$iconType == '') {
        $pC = PhocacartUtils::getComponentParameters();
        $pos = PhocacartPos::isPos();
        if ($pos) {
            self::$iconType = 'bs';
        } else {
            self::$iconType = $pC->get('icon_type', 'bs');
        }
    }
    return self::$iconType;
}