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

Namespaces

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

Classes

  • Cron
  • cURL
  • Email
  • File
  • Handler
  • Profiler
  • SFTP

Class Handler

Handles autoloading, errors and exceptions

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

Methods summary

protected static
# inject_css( )

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
# echo_previous_exceptions( 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
# echo_trace( 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 $css_injected
#

Whether CSS has been injected yet

Whether CSS has been injected yet

AloFramework documentation API documentation generated by ApiGen 2.8.0