Notice: Undefined offset: 8192 in /home/miphpf/domains/miphpf.com/public_html/includes/common.inc on line 499

Notice: Undefined offset: 8192 in /home/miphpf/domains/miphpf.com/public_html/includes/common.inc on line 506

Warning: Incorrect key file for table './miphpf_miphpfcom/watchdog.MYI'; try to repair it query: INSERT INTO watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', 'preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/miphpf/domains/miphpf.com/public_html/includes/unicode.inc on line 291.', 2, '', 'http://www.miphpf.com/manual/auto_loader.html', '', '100.28.132.102', 1719129199) in /home/miphpf/domains/miphpf.com/public_html/includes/database.mysql.inc on line 121
Auto Loader | MIPHPF - Your Open Source RAD PHP Framework
Skip navigation.
Home

Auto Loader

: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/miphpf/domains/miphpf.com/public_html/includes/unicode.inc on line 291.

miLoader class is responsible for the autoloading of classes in the framework. Also it can autoload your own classes. There is only one method intended to be used by the programmer. Note that the supplied paths are relative to the location of the framework source.

* Registering a class to be auto-loaded

<?php
miLoader
::addClass('wsSession', '../ws/util/util.php');
?>