Jump to main content Jump to doc navigation

modX::getResponse

Attempt to load the response handler class, if not already loaded. Defaults to modResponse.

Syntax

API Doc: modX::getResponse()

boolean getResponse ([$string $class = 'modResponse'], [$path $path = ''])

Example

Load a custom Response handler class called 'myResponse' from '/path/to/myresponse.class.php':

$modx->getResponse('myResponse','/path/to/');

See Also