ErrorController

Package: Controller

class ErrorController

extends Omeka_Controller_AbstractActionController

ErrorController::errorAction()
ErrorController::_getException()
ErrorController::notFoundAction()

Generic action to render a 404 page.

ErrorController::forbiddenAction()
ErrorController::methodNotAllowedAction()
ErrorController::logException($e, $priority)
Parameters:
  • $e
  • $priority
ErrorController::is404(Exception $e, $handler)

Check to see whether the error qualifies as a 404 error

Parameters:
  • $e (Exception) –
  • $handler
Returns:

bool

ErrorController::is403(Exception $e)
Parameters:
  • $e (Exception) –
ErrorController::renderException(Exception $e)
Parameters:
  • $e (Exception) –
ErrorController::isInDebugMode()