$response
+$response :+
The variable to keep the response in until output
+ + +From 29955216d69ca08b69afe1ace71151839049c045 Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Sat, 7 Feb 2015 21:06:17 +0100 Subject: Added documentation --- docs/classes/response.html | 618 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 618 insertions(+) create mode 100644 docs/classes/response.html (limited to 'docs/classes/response.html') diff --git a/docs/classes/response.html b/docs/classes/response.html new file mode 100644 index 0000000..44b579c --- /dev/null +++ b/docs/classes/response.html @@ -0,0 +1,618 @@ + + +
+ + +Provides a standard to base all responses to be called with AJAX on
+ + + +http_response_code(integer $code = null) : integer|boolean
+ Get or set the HTTP response code
+If a parameter is provided, it is used as the new HTTP response code, and a bool is returned for success or failure. Otherwise, the current one is returned.
+ +integer | +$code | +The new code |
+
True on successful change, false on unsuccesful change, int when the current code is returned
+ +