Lines Matching refs:url
35 protected $url; variable in Google_HttpRequest
47 public function __construct($url, $method = 'GET', $headers = array(), $postBody = null) { argument
48 $this->setUrl($url);
68 if ($pos = strpos($this->url, '?')) {
69 return substr($this->url, 0, $pos);
71 return $this->url;
80 if ($pos = strpos($this->url, '?')) {
81 $queryStr = substr($this->url, $pos + 1);
153 return $this->url;
189 * @param string $url the url to set
191 public function setUrl($url) { argument
192 if (substr($url, 0, 4) == 'http') {
193 $this->url = $url;
196 if (substr($url, 0, 1) !== '/') {
197 $url = '/' . $url;
200 $this->url = $apiConfig['basePath'] . $url;