Classes/Utility/GeneralUtility.php
public static function getRootSettingValue($name, $defaultValue = null, $rootPid = null)
    {
        $setting = self::getRootSetting($rootPid);

        if (isset($setting[$name])) {
            $ret = $setting[$name];
        } else {
            $ret = $defaultValue;
        }

        return $ret;
    }
public static function getRootSettingValue($name, $defaultValue = null, $rootPid = null)
    {
        $setting = self::getRootSetting($rootPid);

        if (isset($setting[$name])) {
            $ret = $setting[$name];
        } else {
            $ret = $defaultValue;
        }

        return $ret;
    }
public static function getRootSettingValue ( $ name , $ defaultValue = null , $ rootPid = null ) { $ setting = self :: getRootSetting ( $ rootPid ) ; if ( isset ( $ setting [ $ name ] ) ) { $ ret = $ setting [ $ name ] ; } else { $ ret = $ defaultValue ; } return $ ret ; }
Get root setting value

@param   string       $name         Name of configuration
@param   mixed|NULL   $defaultValue Default value
@param   integer|NULL $rootPid      Root Page Id

@return  array
Get root setting value