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