ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Public Member Functions | |
getAbsoluteUrl ($url) | |
Just making this method public. More... | |
doRequest (RequestInterface $request) | |
Public Member Functions inherited from Sabre\DAV\Client | |
__construct (array $settings) | |
Constructor. More... | |
propFind ($url, array $properties, $depth=0) | |
Does a PROPFIND request. More... | |
propPatch ($url, array $properties) | |
Updates a list of properties on the server. More... | |
options () | |
Performs an HTTP options request. More... | |
request ($method, $url='', $body=null, array $headers=[]) | |
Performs an actual HTTP request, and returns the result. More... | |
getAbsoluteUrl ($url) | |
Returns the full url based on the given url (which may be relative). More... | |
parseMultiStatus ($body) | |
Parses a WebDAV multistatus response body. More... | |
Public Member Functions inherited from Sabre\HTTP\Client | |
__construct () | |
Initializes the client. More... | |
send (RequestInterface $request) | |
Sends a request to a HTTP server, and returns a response. More... | |
sendAsync (RequestInterface $request, callable $success=null, callable $error=null) | |
Sends a HTTP request asynchronously. More... | |
poll () | |
This method checks if any http requests have gotten results, and if so, call the appropriate success or error handlers. More... | |
wait () | |
Processes every HTTP request in the queue, and waits till they are all completed. More... | |
setThrowExceptions ($throwExceptions) | |
If this is set to true, the Client will automatically throw exceptions upon HTTP errors. More... | |
addCurlSetting ($name, $value) | |
Adds a CURL setting. More... | |
Public Member Functions inherited from Sabre\Event\EventEmitterInterface | |
on ($eventName, callable $callBack, $priority=100) | |
Subscribe to an event. More... | |
once ($eventName, callable $callBack, $priority=100) | |
Subscribe to an event exactly once. More... | |
emit ($eventName, array $arguments=[], callable $continueCallBack=null) | |
Emits an event. More... | |
listeners ($eventName) | |
Returns the list of listeners for an event. More... | |
removeListener ($eventName, callable $listener) | |
Removes a specific listener from an event. More... | |
removeAllListeners ($eventName=null) | |
Removes all listeners. More... | |
Data Fields | |
$request | |
$response | |
$url | |
$curlSettings | |
Data Fields inherited from Sabre\DAV\Client | |
$xml | |
$propertyMap = [] | |
const | AUTH_BASIC = 1 |
Basic authentication. More... | |
const | AUTH_DIGEST = 2 |
Digest authentication. More... | |
const | AUTH_NTLM = 4 |
NTLM authentication. More... | |
const | ENCODING_IDENTITY = 1 |
Identity encoding, which basically does not nothing. More... | |
const | ENCODING_DEFLATE = 2 |
Deflate encoding. More... | |
const | ENCODING_GZIP = 4 |
Gzip encoding. More... | |
const | ENCODING_ALL = 7 |
Sends all encoding headers. More... | |
Data Fields inherited from Sabre\HTTP\Client | |
const | STATUS_SUCCESS = 0 |
const | STATUS_CURLERROR = 1 |
const | STATUS_HTTPERROR = 2 |
Additional Inherited Members | |
Protected Member Functions inherited from Sabre\HTTP\Client | |
doRequest (RequestInterface $request) | |
This method is responsible for performing a single request. More... | |
createCurlSettingsArray (RequestInterface $request) | |
Turns a RequestInterface object into an array with settings that can be fed to curl_setopt. More... | |
parseCurlResult ($response, $curlHandle) | |
Parses the result of a curl call in a format that's a bit more convenient to work with. More... | |
sendAsyncInternal (RequestInterface $request, callable $success, callable $error, $retryCount=0) | |
Sends an asynchronous HTTP request. More... | |
curlExec ($curlHandle) | |
Calls curl_exec. More... | |
curlStuff ($curlHandle) | |
Returns a bunch of information about a curl request. More... | |
Protected Attributes inherited from Sabre\DAV\Client | |
$baseUri | |
$encoding = self::ENCODING_IDENTITY | |
Protected Attributes inherited from Sabre\HTTP\Client | |
$curlSettings = [] | |
$throwExceptions = false | |
$maxRedirects = 5 | |
Definition at line 7 of file ClientMock.php.
Sabre\DAV\ClientMock::doRequest | ( | RequestInterface | $request | ) |
Definition at line 27 of file ClientMock.php.
References Sabre\DAV\ClientMock\$request, Sabre\DAV\ClientMock\$response, and Sabre\DAV\Client\request().
Sabre\DAV\ClientMock::getAbsoluteUrl | ( | $url | ) |
Just making this method public.
string | $url |
Definition at line 21 of file ClientMock.php.
References Sabre\DAV\ClientMock\$url.
Sabre\DAV\ClientMock::$curlSettings |
Definition at line 13 of file ClientMock.php.
Sabre\DAV\ClientMock::$request |
Definition at line 9 of file ClientMock.php.
Referenced by Sabre\DAV\ClientMock\doRequest().
Sabre\DAV\ClientMock::$response |
Definition at line 10 of file ClientMock.php.
Referenced by Sabre\DAV\ClientMock\doRequest().
Sabre\DAV\ClientMock::$url |
Definition at line 12 of file ClientMock.php.
Referenced by Sabre\DAV\ClientMock\getAbsoluteUrl().