public static function object() { if (!self::$object instanceof self) { self::$object = new self(); } return self::$object; }
/** * Helper to access the Shopp settings registry * * @api * @since 1.1 * * @return ShoppSettings The ShoppSettings object **/ function ShoppSettings() { return ShoppSettings::object(); }