Some helper methods to construct and process URLs
package | ArangoDBClient |
---|---|
since | 0.2 |
appendParamsUrl(string $baseUrl, array $params) : string
Parameter values will be URL-encoded
string
array
string
- the assembled URLbuildUrl(string $baseUrl, array $parts = array()
) : string
This function accepts variable arguments.
string
array
string
- assembled URLgetBoolString(mixed $value) : string
mixed
string
- "true" if $value evaluates to true, "false" otherwisegetDocumentIdFromLocation(string $location) : string
string
string
- document id parsed from header