Page 2 of 2

Posted: Mon Sep 25, 2006 6:45 pm
by Luke
This is freaking sweet... wow! Thanks a lot d11... this cleaned up a lot of messy code for me. Awesome idea!

BTW... I just got to use it for the first time on a new project so that's why I am revisiting this thread.

Posted: Sun Nov 05, 2006 9:37 pm
by nameless1
for those that dont know spl_autoload functions (multiple) allow you to change the __autoload function or create multiple autoload functions just thought this was worth noting it always annoyed me having to do

function __autoload($class_name) {

}

now i can name the function whatever i want and put it in whatever class i feel like.