Jump to main content Jump to doc navigation

modX.sendUnauthorizedPage

Other versions: 3.x — Found a problem? Please edit this page or report an issue.

modX::sendUnauthorizedPage

Send the user to the MODX unauthorized page.

Syntax

API Doc: http://api.modx.com/revolution/2.2/db_core_model_modx_modx.class.html#%5CmodX::sendUnauthorizedPage()

void sendUnauthorizedPage ([array $options = null])

Example

Send the user to the unauthorized page. You do not need to terminate the script after running this.

$modx->sendUnauthorizedPage();

See Also