HTTP_GET
HTTP_GET
fetch(string $key, string $method, string $url, string $params, $bad_class_name, string $inputXml = NULL) : array
Start Webservice request Check webservice activation Check autentication Check resource Check HTTP Method Execute the action Display the result
string | $key | |
string | $method | |
string | $url | |
string | $params | |
$bad_class_name | ||
string | $inputXml |
Returns an array of results (headers, content, type of resource...)
webserviceErrorHandler(string $errno, array $errstr, array $errfile, array $errline) : boolean
Used to replace the default PHP error handler, in order to display PHP errors in a XML format
string | $errno | contains the level of the error raised, as an integer |
array | $errstr | contains the error message, as a string |
array | $errfile | errfile, which contains the filename that the error was raised in, as a string |
array | $errline | errline, which contains the line number the error was raised at, as an integer |
Always return true to avoid the default PHP error handler