コード例 #1
0
ファイル: Service.php プロジェクト: omusico/home365
 /**
  * Returns the selected endpoint URL of this compute Service
  *
  * @param string $resource - an optional child resource. For example,
  *      passing 'details' would return .../servers/details. Should *not* be
  *    prefixed with a slash (/).
  * @param array $args (optional) an array of key-value pairs for query
  *      strings to append to the URL
  * @returns string - the requested URL
  */
 public function Url($resource = 'servers', array $args = array())
 {
     return parent::Url($resource, $args);
 }
コード例 #2
0
ファイル: Service.php プロジェクト: omusico/home365
 /**
  * Returns the URL of this service, or optionally that of
  * an instance
  *
  * @param string $resource the resource required
  * @param array $args extra arguments to pass to the URL as query strings
  */
 public function Url($resource = self::URL_RESOURCE, array $args = array())
 {
     return parent::Url($resource, $args);
 }