[eluser]glopv2[/eluser]
@noctrum True, but it seems prudent to have a layer of abstraction, and the name of the function makes it pretty obvious what it does. Yay for good function names!
Like I said, the auto-loader idea is really cool, and I would use it if the code in question were something I'd like not to be touched often (like an interface). That way a programmer is "guided" to fix right code if there's a discrepancy.
However, in my application, the class I want to load will be modified and accessed frequently, so I want anyone who is scanning the code to be able to see where it's coming from.
For example, when I inevitably get stuck and post the code here for help, someone will be able to quickly say "what's that class?" instead of forcing them to guess that I'm auto-loading a class in the router.