[TYPO3-project-formidable] Pass parameter to xml FORMidable?

Aurélien Allienne allienna at gmail.com
Tue Jul 17 09:40:44 CEST 2007


Thanks, It works :)

2007/7/17, Jerome Schneider <j.schneider at ameos.com>:
>
> Hello Aurélien,
>
> The trick is that you have access to your plugin in formidable.
> When in a userobj, $this->_oParent   refers to your plugin
>
> So you can set, in your plugin, before calling formidable:
>
> $this->toto = "Hello, World !";
>
>
> and in formidable, in the userobj where you need it:
>
> echo($this->_oParent->toto);  // or whatever php here
>
>
> Hope this helps,
> Jerome
>
> Aurélien Allienne a écrit :
> > Hi
> >
> > How can I pass a parameter to FORMidable when I call a xml?
> >
> > Exemple : I have in php a variable $toto and in the listener xml, i want
> to
> > use this for my request.
> >
> > I suppose that there is an array somewhere but i don't know how to use
> it.
> >
> > Regards
> >
> > Aurelien Allienne
> _______________________________________________
> TYPO3-project-formidable mailing list
> TYPO3-project-formidable at lists.netfielders.de
>
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-project-formidable
>


More information about the TYPO3-project-formidable mailing list