The SiteSettings object accesses the settings properties for the current site. These are organised into settings groups, with methods for loading both a group of settings, or an individual setting. Settings are lazy-loaded from the database and cached for best performance
SiteSettings is scoped to Controllers, public website document, and templates or views as $this->sitesettings. However, you may need to access it from other objects which do not have it pre-scoped.
The normal way to access SiteSettings would be to fetch its singleton object using SiteSettings::getInstance()
Loads setting $name from group $group and returns the result as a string.
Loads a group of settings and returns the results as an array.
Returns the complete site URL, including protocol as a string. Eg: 'http://www.example.com'.
Address: 22a Fishergate York, YO10 4AB · Tel: 01904 636677 · Email: email@example.com