modX.getResponse

Skip to end of metadata
Go to start of metadata


modX::getResponse

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

Syntax

API Doc: http://api.modxcms.com/modx/modX.html#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

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