OpenSRS/osrs-toolkit-php — pull request #1 by 6dg (2013-09-27 13:30:49+00:00)
Title: Remove global functions from autoload class

This pull request removes the global functions from the autoload class.

The allows the library to be used in a wider range of applications / libraries without risking collisions in function names.

Two functions have been moved into openSRS_base which most of the classes extends from.
The function convertArray2Formatted is currently duplicated into the openSRS_fastlookup.php class which I believe is the only place this is necessary.

I've updated all the tests/demos to use a wrapper around the autoloader so they still work with this pull request.

This allows the library to be used via composer accurately too.