Method: getSetting($group , $name , [$refresh])

Loads setting $name from group $group and returns the result as a string.

Arguments:

$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.

Returns:

STRING

Example:

$address1 = $this->sitesettings->getSetting('contact' , 'address1');

$address1 = $this->sitesettings->getSetting('contact' , 'address1' , true)

Contact Us

Address: 22a Fishergate York, YO10 4AB · Tel: 01904 636677 · Email: info@dotadmin.com