コード例 #1
0
ファイル: core.php プロジェクト: BlessySoftwares/anvelocom
/**
 * Provides the ShoppErrorStorefrontNotices instance
 *
 * @since 1.3
 *
 * @return ShoppErrorStorefrontNotices The running ShoppErrorStorefrontNotices instance
 **/
function ShoppErrorStorefrontNotices()
{
    return ShoppErrorStorefrontNotices::object();
}
コード例 #2
0
ファイル: Error.php プロジェクト: jonathandavis/shopp
 public static function object()
 {
     if (!self::$object instanceof self) {
         self::$object = new self();
     }
     return self::$object;
 }