コード例 #1
0
 /** Get the HTTP Client object used to fetch RDF data
  *
  * If no HTTP Client has previously been set, then a new
  * default (EasyRdf_Http_Client) client will be created.
  *
  * @return object mixed The HTTP client object
  */
 public static function getDefaultHttpClient()
 {
     if (!isset(self::$defaultHttpClient)) {
         self::$defaultHttpClient = new EasyRdf_Http_Client();
     }
     return self::$defaultHttpClient;
 }