/** * Gets a setting with the given title, returns default if not available * * @param string $title - The key / title of the setting * @param string $default - The default value (if setting not found) * * @return mixed */ public static function getSettings($title = '', $default = '') { if (!isset(self::$instance)) { self::$instance = self::_loadSettings(); } return self::$instance->get($title, $default); }