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

Namespaces

  • Alo
    • Cache
    • CLI
    • Controller
    • Db
    • Exception
    • FileSystem
    • Session
    • Statics
    • Validators
    • Windows
  • Controller
  • None
  • PHP

Classes

  • Cart
  • Sample
  • SampleErrorController

Class SampleErrorController

A sample error controller

Alo\Controller\AbstractController
Extended byAlo\Controller\AbstractErrorController
Extended byController\SampleErrorController
Namespace:Controller
Author:Art <a.molcanovas@gmail.com>
Located atapp/controllers/sampleerrorcontroller.php

Methods summary

public
#error(integer$code=404)

Displays the error page

Displays the error page

Parameters

$code
integer
$code The error HTTP code

Author

Art <a.molcanovas@gmail.com>
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