modResponseEncapsulates a MODx response to a web request.
Includes functions to manipluate header data, such as status codes, as well as manipulating the response body.
Located in /model/modx/modresponse.class.php (line 30)
| Class | Description |
|---|---|
modConnectorResponse
|
Encapsulates an HTTP response from the MODx manager. |
modManagerResponse
|
Encapsulates an HTTP response from the MODx manager. |
void
sendRedirect
(string $url, [array|boolean $options = false], [string $type = ''], [string $responseCode = ''])
Constructor __construct (line 35)
checkPreview (line 255)
Checks to see if the preview parameter is set.
outputContent (line 44)
Prepare the final response after the resource has been processed.
sendRedirect (line 197)
Sends a redirect to the specified URL using the specified method.
Valid $type values include: REDIRECT_REFRESH Uses the header refresh method REDIRECT_META Sends a a META HTTP-EQUIV="Refresh" tag to the output REDIRECT_HEADER Uses the header location method
REDIRECT_HEADER is the default.
Documentation generated on Fri, 17 Jun 2011 10:03:47 -0600 by phpDocumentor 1.4.3