[TYPO3-ect] smartyView with div/lib
Elmar HInz
elmar.DOT.hinz at team.MINUS.red.DOT.net
Sun Jan 14 02:55:05 CET 2007
> would it be helpful if tx_lib_data would have the function getArrayCopy()
Please look at the grand-parent classes of tx_lib_data:
tx_lib_spl_ArrayObject->getArrayCopy();
> as well ? so it would be possible to iterate.
The whole object is the iterator as the rewind-valid-next example shows.
getArrayCopy() is your method, if you need it in form of a classical PHP
array.
Use references only where they are really needed. The PHP4 references are
to confusing. They write the PHP4 build in system of copies can
compare with references for performance.
Regards
Elmar
More information about the TYPO3-team-extension-coordination
mailing list