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

Namespaces

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

Classes

  • Cookie
  • Cron
  • Curl
  • Email
  • Format
  • Handler
  • Locale
  • Profiler
  • Security
  • SFTP

Class Handler

Handles autoloading, errors and exceptions

Abstract
Namespace:Alo
Author:Art <a.molcanovas@gmail.com>
Located atsys/core/handler.php

Methods summary

protected static
#injectCss( )

Injects CSS into the page to preffity our output

Injects CSS into the page to preffity our output

Author

Art <a.molcanovas@gmail.com>
public static
#error(integer$errno,string$errstr,string$errfile,integer$errline)

The error handler

The error handler

Parameters

$errno
integer
$errno The level of the error raised
$errstr
string
$errstr The error message
$errfile
string
$errfile The filename that the error was raised in
$errline
integer
$errline The line number the error was raised at

Author

Art <a.molcanovas@gmail.com>
public static
#autoloader(string$name)

Used to automatically load class,interface and trait files

Used to automatically load class,interface and trait files

Parameters

$name
string
$name Class name

Author

Art <a.molcanovas@gmail.com>
protected static
#echoPreviousExceptions(null|Exception$e)

Echoes previous exceptions if applicable

Echoes previous exceptions if applicable

Parameters

$e
null|Exception
$e The previous exception

Author

Art <a.molcanovas@gmail.com>
protected static
#echoTrace(array$trace)

Echoes the debug backtrace

Echoes the debug backtrace

Parameters

$trace
array
$trace The backtrace

Author

Art <a.molcanovas@gmail.com>
public static
#ecxeption(Exception$e)

Exception handler

Exception handler

Parameters

$e
Exception
$e The exception

Author

Art <a.molcanovas@gmail.com>

Magic methods summary

Properties summary

protected static boolean$cssInjected
#

Whether CSS has been injected yet

Whether CSS has been injected yet

AloFramework documentation API documentation generated byApiGen 2.8.0