Back to PhocacartUtils class

Method getComponentParameters

public static
getComponentParameters
()

Method getComponentParameters - Source code

public static function getComponentParameters()
{
    $app = Factory::getApplication();
    $option = $app->input->get('option');
    $client = $app->isClient('administrator') ? 'A' : 'S';
    return PhocacartUtilsOptions::getOptions('PC', $client, $option);
}