コード例 #1
0
 /**
  * 取唯一单件模式
  * @return object
  */
 private static function _getInstant()
 {
     if (null == self::$ipLoc) {
         self::$ipLoc = new ipLocation();
     }
     return self::$ipLoc;
 }