Esempio n. 1
0
 /**
  * Retrieves an endpoint
  * @param [array] $args Elements as follow:
  *        [string] realm user, site, organization
  *        [string] path specific method to call
  * @return [string] $endpoint_string
  */
 static function get($args)
 {
     $endpoint = new Endpoint($args);
     $endpoint_string = $endpoint->lookup($args);
     return $endpoint_string;
 }
Esempio n. 2
0
 /**
  * @param $args (array)
  *    required args are
  *      - realm ( i.e. user,site,organization )
  *      - path ( specific method to call )
  */
 static function get($args)
 {
     $endpoint = new Endpoint($args);
     return $endpoint->lookup($args);
 }