Re: [TYPO3-english] destroy the object

2011-01-13 Thread Jigal van Hemert
Hi, On 13-1-2011 17:35, Dawid Pacholczyk wrote: I can use - at least I think so - __destruct() method to perform some action before it is destroyed. Yes, you can make a destructor to perform actions before an object is destroyed. You don't need to call a destructor in your own code, because

Re: [TYPO3-english] destroy the object

2011-01-13 Thread Dawid Pacholczyk
On 13.01.2011 16:12, Dmitry Dulepov wrote: Hi! Dawid Pacholczyk wrote: I`m using ext_autoload with t3lib_div::makeInstance to create an instance of some object. I want to - after operations that i need to invoke - destroy the object. Is there some smooth way to do that ? In PHP objects are d

Re: [TYPO3-english] destroy the object

2011-01-13 Thread Dmitry Dulepov
Hi! Dawid Pacholczyk wrote: I`m using ext_autoload with t3lib_div::makeInstance to create an instance of some object. I want to - after operations that i need to invoke - destroy the object. Is there some smooth way to do that ? In PHP objects are destroyed when they go out of scope or when y

[TYPO3-english] destroy the object

2011-01-13 Thread Dawid Pacholczyk
Hi List, I`m using ext_autoload with t3lib_div::makeInstance to create an instance of some object. I want to - after operations that i need to invoke - destroy the object. Is there some smooth way to do that ? Best regards, Dawid Pacholczyk ___ TY