\AloHandler

Handles autoloading, errors and exceptions

Summary

Methods
Properties
Constants
error()
autoloader()
ecxeption()
No public properties found
No constants found
inject_css()
echo_previous_exceptions()
echo_trace()
$css_injected
N/A
No private methods found
No private properties found
N/A

Properties

$css_injected

$css_injected : boolean

Whether CSS has been injected yet

Type

boolean

Methods

error()

error(integer  $errno, string  $errstr, string  $errfile, integer  $errline) 

The error handler

Parameters

integer $errno

The level of the error raised

string $errstr

The error message

string $errfile

The filename that the error was raised in

integer $errline

The line number the error was raised at

autoloader()

autoloader(string  $name) 

Used to automatically load class,interface and trait files

Parameters

string $name

Class name

ecxeption()

ecxeption(\Exception  $e) 

Exception handler

Parameters

\Exception $e

The exception

inject_css()

inject_css() 

Injects CSS into the page to preffity our output

echo_previous_exceptions()

echo_previous_exceptions(null|\Exception  $e) 

Echoes previous exceptions if applicable

Parameters

null|\Exception $e

The previous exception

echo_trace()

echo_trace(array  $trace) 

Echoes the debug backtrace

Parameters

array $trace

The backtrace