Nice to hear that, but what if we wanted to be backwards compatible to
4.x ? Any chance of pointing out the part that makes this possible? Or
was this a deep core change?
--
mit freundlichen Grüßen
Alexander Kludt
__________________________
Phone: 09283-5925453
Skype: kingschnulli
Email: [email protected]
Website: www.aggrosoft.de
__________________________
Aggrosoft it intelligence GbR
Tannstrasse 12
95111 Rehau
GERMANY
Sitz Rehau, Amtsgericht Hof
Steuernummer: 223/165/54508
Ust.-Id. Nr. gemäß § 27 a Umsatzsteuergesetz: DE260722773
___________________________
Diese Nachricht ist nur für den Empfänger () bestimmt, sollten
Sie nicht der Empfänger sein löschen Sie diese Nachricht
umgehend und geben Sie uns bitte per Email ([email protected]) Bescheid
über den fälschlichen Erhalt.
Tomas Liubinas schrieb:
Hi,
It's a good idea, thanks for the suggestion. I tested it and it works
perfectly. We included it to 4.3.
Regards
Tomas Liubinas
-----Original Message-----
From: [email protected] [mailto:dev-general-
[email protected]] On Behalf Of Mathias Fiedler
Sent: Friday, March 05, 2010 12:31 PM
To: [email protected]
Subject: Re: [oxid-dev-general] Proposal: use
spl_autoload_register()instead of __autoload() to allow other autoload
functions in OXID
Hey Stefan,
great idea. I didn't know about "spl_autoload_register" That seems to
be a good way to allow users to add own directories/classes/libs etc :)
I like it and want it :)
Maybe already in 4.3 ;)
Bye
Mathias
Am 05.03.2010 um 11:26 schrieb Stefan Moises:
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
_______________________________________________
dev-general mailing list
[email protected]
http://dir.gmane.org/gmane.comp.php.oxid.general
_______________________________________________
dev-general mailing list
[email protected]
http://dir.gmane.org/gmane.comp.php.oxid.general
_______________________________________________
dev-general mailing list
[email protected]
http://dir.gmane.org/gmane.comp.php.oxid.general