myMVC.php

In order to load all myMVC-classes, we use an autoload function.

You can use your own function to load your classes, using spl_autoload_register or just defining a __autoload() function, before including this file!

Constants

MYMVC_CURRENTVERSION

MYMVC_CURRENTVERSION

ALERT_SQL

ALERT_SQL

ALERT_DEBUG

ALERT_DEBUG

ALERT_WARNING

ALERT_WARNING

ALERT_CRITICAL

ALERT_CRITICAL

NAGIOS_OK

NAGIOS_OK

NAGIOS_WARNING

NAGIOS_WARNING

NAGIOS_CRITICAL

NAGIOS_CRITICAL

PAGE_ERROR

PAGE_ERROR

FILE_SESSION

FILE_SESSION

DB_SESSION

DB_SESSION

Functions

myMVC_autoload()

myMVC_autoload(  $class) 

Autoload function.

If the user tried to call a myMVC class

Parameters

$class

Class to load

get_called_class()

get_called_class()