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

Namespaces

  • Alo
    • Cache
    • CLI
    • Controller
    • Db
    • Exception
    • FileSystem
    • Session
    • Traversables
    • Validators
    • Windows
  • 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 byAlo\Controller\AbstractErrorController

Direct known subclasses

Controller\SampleErrorController

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

Methods summary

abstract public
#error(integer$code=404)

Displays the error page

Displays the error page

Parameters

$code
integer
$code The error HTTP response code

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 fromAlo\Controller\AbstractController

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

Magic methods summary

Properties summary

Properties inherited fromAlo\Controller\AbstractController

$this

AloFramework documentation API documentation generated byApiGen 2.8.0