[TYPO3-mvc] Question about Filter-Objects
Franz Koch
typo3.RemoveForMessage at elements-net.de
Sat Mar 13 19:47:18 CET 2010
Hi,
> But only at the end of the script. You could destroy the object in the controller after you have
> used it for the processing of the query.
Just a note: a simple "unset($object)" won't work as long as there are
still references to that object (which most likely are if extbase
created/injected a object), so according to some comments I found on the
net you first have to overwrite the object with NULL and then delete it:
$object = NULL; unset($object);
--
kind regards,
Franz Koch
More information about the TYPO3-project-typo3v4mvc
mailing list