コード例 #1
0
ファイル: Settings.php プロジェクト: msigley/shopp
 public static function object()
 {
     if (!self::$object instanceof self) {
         self::$object = new self();
     }
     return self::$object;
 }
コード例 #2
0
ファイル: core.php プロジェクト: BlessySoftwares/anvelocom
/**
 * Helper to access the Shopp settings registry
 *
 * @api
 * @since 1.1
 *
 * @return ShoppSettings The ShoppSettings object
 **/
function ShoppSettings()
{
    return ShoppSettings::object();
}