modRequestEncapsulates the interaction of MODx with an HTTP request.
This class represents the functional portion of the MODx front- controller, and is responsible for sanitizing, interpretting, and dispatching a web request to the appropriate MODx Web Resource.
Located in /model/modx/modrequest.class.php (line 33)
| Class | Description |
|---|---|
modManagerRequest
|
Encapsulates the interaction of MODx manager with an HTTP request. |
Constructor __construct (line 39)
checkPublishStatus (line 392)
Checks the current status of timed publishing events.
getActionIDs (line 457)
getAllActionIDs (line 445)
getHeaders (line 372)
getParameters (line 480)
Get a GPC/REQUEST variable value or an array of values from the request.
getResource (line 137)
Gets a requested resource and all required data.
getResourceIdentifier (line 228)
Gets the idetifier used to request a resource.
getResourceMethod (line 118)
Gets the method used to request a resource.
handleRequest (line 52)
The primary MODx request handler (a.k.a. controller).
loadErrorHandler (line 311)
Loads the error handling class for the request.
prepareResponse (line 103)
Prepares the MODx response to a web request that is being handled.
preserveRequest (line 353)
Preserves the $_REQUEST superglobal to the $_SESSION.
registerLogging (line 335)
Provides an easy way to initiate register logging.
Through an array of options, you can have all calls to modX::log() recorded in a topic of a modRegister instance. The options include:
retrieveRequest (line 364)
Retrieve's a preserved $_REQUEST from $_SESSION.
sanitizeRequest (line 290)
Harden GPC variables by removing any MODx tags, Javascript, or entities.
_cleanResourceIdentifier (line 251)
Cleans the resource identifier from the request params.
Documentation generated on Fri, 17 Jun 2011 10:03:45 -0600 by phpDocumentor 1.4.3