[TYPO3-dev] Get content from other plugin within plugin
Michael Miousse
mmiousse at infoglobe.ca
Wed Jan 27 17:46:43 CET 2010
Le Wed, 27 Jan 2010 08:16:02 +0200, Dmitry Dulepov a écrit :
> On 2010-01-26 17:07:24 +0200, Sebastian Gebhard said:
>
>> Basically good (this is exactly the way TYPO3 renders the plugins) butw
>> hen you're within a plugin you don't need to initialize tslib_cObj.
>
> This is wrong. Current cObj contains data for the current plugin. It
> should not be used for the new plugin because new plugin can modify the
> content of the current object. So a new cObj is necessary.
I agree with Dimtry
and there is more if Tomas want to use the field property in his mailformplus,
he will have to set $cObj->start(array(), ''); to something else because if he dont
field will be empty
More information about the TYPO3-dev
mailing list