[TYPO3-ect] Kickstarter MVC Bug: getConfiguration()
Elmar Hinz
elmar.DOT.hinz at team.MINUS.red.DOT.net
Fri Jul 6 17:27:55 CEST 2007
> So the direction is O.K. but it needs a little modification. I think of
> this:
>
> tx_lib_objectAncestor extends tx_lib_selfAwareness { ... all is done here
> ... }
>
> if(t3lib_div::int_from_ver(phpversion())>=5000000) {
> class tx_lib_object extends tx_lib_objectAncestor implements
> ArrayAccess, Iterator { }
> } else {
> class tx_lib_object extends tx_lib_objectAncestor { }
> }
>
Herefirst working implementation:
tx_lib_objectBase extends tx_lib_selfAwareness { ... all is done here ...
if(t3lib_div::int_from_ver(phpversion())>=5000000) {
eval('class tx_lib_object extends tx_lib_objectBase implements
ArrayAccess, Iterator{ }');
} else {
class tx_lib_object extends tx_lib_objectBase{ }
}
More information about the TYPO3-team-extension-coordination
mailing list