AloFramework documentation
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Todo
  • Download

Namespaces

  • Alo
    • Cache
    • Controller
    • Db
    • Exception
    • Session
    • Statics
    • Test
    • Validators
  • Controller
  • None
  • PHP

Classes

  • AbstractController
  • AbstractErrorController
  • Router

Class AbstractErrorController

The abstract error controller. Your custom error controllers will need to follow this design.

Alo\Controller\AbstractController
Extended by Alo\Controller\AbstractErrorController

Direct known subclasses

Controller\SampleErrorController

Abstract
Namespace: Alo\Controller
Author: Art <a.molcanovas@gmail.com>
Located at sys/class/alo/controller/abstracterrorcontroller.php

Methods summary

abstract public
# error( integer $code = 404, string $message = null )

Displays the error page

Displays the error page

Parameters

$code
integer
$code The error HTTP response code
$message
string
$message Optional message override

Author

Art <a.molcanovas@gmail.com>
abstract public
# displayErrorPage( integer $code = 404 )

Displays a generic error page for which there is no HTML file

Displays a generic error page for which there is no HTML file

Parameters

$code
integer
$code The HTTP response code

Author

Art <a.molcanovas@gmail.com>

Methods inherited from Alo\Controller\AbstractController

__construct(), __destruct(), echoOnDestruct(), http_error(), index(), loadView()

Magic methods summary

AloFramework documentation API documentation generated by ApiGen 2.8.0