getUrl() 공개 메소드

Resource name.
public getUrl ( ) : SimpleUrl
리턴 SimpleUrl Current url.
예제 #1
0
파일: page.php 프로젝트: robomc/solr-tests
 /**
  *    Extracts all of the response information.
  *    @param SimpleHttpResponse $response    Response being parsed.
  *    @access private
  */
 protected function extractResponse($response)
 {
     $this->transport_error = $response->getError();
     $this->raw = $response->getContent();
     $this->sent = $response->getSent();
     $this->headers = $response->getHeaders();
     $this->method = $response->getMethod();
     $this->url = $response->getUrl();
     $this->request_data = $response->getRequestData();
 }
예제 #2
0
 /**
  *    Extracts all of the response information.
  *    @param SimpleHttpResponse $response    Response being parsed.
  *    @access private
  */
 function _extractResponse($response)
 {
     $this->_transport_error = $response->getError();
     $this->_raw = $response->getContent();
     $this->_sent = $response->getSent();
     $this->_headers = $response->getHeaders();
     $this->_method = $response->getMethod();
     $this->_url = $response->getUrl();
     $this->_request_data = $response->getRequestData();
 }