php_solr
[ class tree: php_solr ] [ index: php_solr ] [ all elements ]

Class: SolrHttpClient

Source Location: /src/transport/SolrHttpClient.php

Class Overview


A simple HTTP client for php_solr.


Author(s):

Methods



Class Details

[line 54]
A simple HTTP client for php_solr.



Tags:

author:  Alexander M. Turek <rabus@users.sourceforge.net>
uses:  HTTP_Request2


[ Top ]


Class Methods


constructor __construct [line 67]

SolrHttpClient __construct( [string $solrBaseUrl = 'http://localhost:8080/solr'])

Constructor for SolrHttpClient.



Tags:

access:  public


Parameters:

string   $solrBaseUrl   The base URL for Solr requests.

[ Top ]

method createRequest [line 114]

HTTP_Request2 createRequest( )

Creates the HTTP_Request2 instance.



Tags:

access:  protected


[ Top ]

method sendRequest [line 82]

HTTP_Request2_Response sendRequest( string $path, [string $body = null])

Sends an HTTP request.



Tags:

access:  public


Parameters:

string   $path   The relative path for this request.
string   $body   The XML code for the request body.

[ Top ]


Documentation generated on Wed, 20 May 2009 12:51:11 +0000 by phpDocumentor 1.4.2