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

Namespaces

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

Classes

  • Cart
  • Sample
  • SampleErrorController

Class SampleErrorController

A sample error controller

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

Methods summary

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

Displays the error page

Displays the error page

Parameters

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

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 from Alo\Controller\AbstractController

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

Magic methods summary

AloFramework documentation API documentation generated by ApiGen 2.8.0