[TYPO3-ect] Autoload-function for lib/div?

Elmar Hinz elmar07 at googlemail.com
Wed Aug 15 11:33:00 CEST 2007


> +1 for PHP5
> 
> So, how to start? Do you want to create the branch? As soon as the
> branch is available, I would commit myself to create the initial tx_lib-
> class with the autoload-mechanism. Additionally, I would also move
> existing classes to PHP5 (please write which ones).
> 
> Joerg


Hi Joerg,

just try to copy the trunk to tx_lib/branches/beta/ yourself. The last times
when I tried to copy trunk to tx_lib/branches/tags/ I got only errors. So
it would be interesting if it works for you. But please wait for my next
commit. There are a lot of changes.

The most important step is to drop the SPL workaround for PHP4 and to
inherit from the inbuild SPL ArrayIterator:

http://de3.php.net/manual/en/ref.spl.php

The easy way is probably to remove ths SPL interface functions form
tx_lib_object and to extend tx_lib_selfAwareness from ArrayIterator. 

Regards

Elmar


























More information about the TYPO3-team-extension-coordination mailing list