Loads setting $name from group $group and returns the result as a string.
$group (STRING)
The name of the settings group to be loaded
$name (STRING)
The name of the setting to be loaded
$refresh (BOOL) optional - default: false
If $refresh=true, the method refreshes the internal cache from the database first.
STRING
$address1 = $this->sitesettings->getSetting('contact' , 'address1');
$address1 = $this->sitesettings->getSetting('contact' , 'address1' , true)