Hi List,
I'd like to make a proposal:
OXID defines its own __autoload() function in "core/oxfunctions.php",
which makes it hard to add external libraries containing their own
autoloaders or to implement different autoloaders for own classes/libs.
A solution would be to rename that function to e.g. "oxidAutoload()" and
to add it to the PHP autoloader stack with
"*spl_autoload_register('**oxidAutoload');*"
So other autoload functions could be added in the same way, too.
What do you think?
Cheers,
Stefan Moises
--
*******************************************
Stefan Moises
Senior Softwareentwickler
shoptimax GmbH
Guntherstraße 45 a
90461 Nürnberg
Amtsgericht Nürnberg HRB 21703
GF Friedrich Schreieck
Tel.: 0911/25566-25
Fax: 0911/25566-29
[email protected]
http://www.shoptimax.de
*******************************************
_______________________________________________
dev-general mailing list
[email protected]
http://dir.gmane.org/gmane.comp.php.oxid.general