Beispiel #1
0
 /**
  * 
  * 单例模式
  */
 public static function getInstance()
 {
     if (self::$_instance === null) {
         self::$_instance = new self();
     }
     return self::$_instance;
 }