modX.getRequest

Skip to end of metadata
Go to start of metadata


modX::getRequest

Attempt to load the request handler class, if not already loaded. Defaults to modRequest.

Syntax

API Doc: http://api.modxcms.com/modx/modX.html#getRequest

boolean getRequest ([$string $class = 'modRequest'], [$path $path = ''])

Example

Load a custom Request handler class called 'myRequest' from '/path/to/myrequest.class.php':

$modx->getRequest('myRequest','/path/to/');

See Also

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.