joomla/joomla-platform — pull request #1707 by garyamort (2012-11-21 20:54:11+00:00)
Title: Updates for loadByPrefix public autoloader

In testing, I got some odd errors. The spl_auto_register call would throw exceptions when trying to register _autoload because _autoload is not a public method.

Rather than make a method with an underscore public[since by convention it's private] - I instead duplicated it to loadByPrefix. It is more clear any way since it matches loadByNamespace....