
Static Public Member Functions | |
| static | prepareURL ($url) |
| Prepare the URL by replacing spaces with plusses. | |
Static Protected Member Functions | |
| static | queryURL ($url, $XMLData=null, $key=null) |
| Run a CURL command on an XML service URL and return the result. | |
XSI runs CURL requests, either on a direct URL or based on a URL generated by an SDRServiceRequest
Definition at line 11 of file XSI.php5.
| static XSI::prepareURL | ( | $ | url | ) | [static] |
| static XSI::queryURL | ( | $ | url, | |
| $ | XMLData = null, |
|||
| $ | key = null | |||
| ) | [static, protected] |
Run a CURL command on an XML service URL and return the result.
This is called by either query() (when URLs are passed directly), or querySearchRequest() (when a request object is passed). It simply runs a CURL command and returns the result. If either the $key or $XMLData params are passed, it includes a POST section on the request and sends those variables through POST.
| $url | [string]: The URL of the XML service | |
| $XMLData | [string]: An XML data section to POST with the request | |
| $key | [string]: An authentication key to POST with the request |
Reimplemented in SDRSearchService.
1.5.6