[TYPO3] TypoScript - userFunc - passing value

Dmitry Dulepov dmitry at typo3.org
Wed May 30 14:31:46 CEST 2007


Tomas Mrozek wrote:
> Thanks for answering Peter. However, your example didn't help me figure
> out what I need. Using your example, suppose that you want "param1" to
> have the value of "GPVar:tx_ttnews|news".
...
> How would you do that?

As simple as

	$this->cObj->getData($conf['param1'], '');

This way you declare that your "param1" has type getData. If you want to 
ass stdWrap, call corresponding function from $this->cObj...

-- 
Dmitry Dulepov
TYPO3 freelancer / TYPO3 core team
Web: http://typo3bloke.net/
Skype: callto:liels_bugs


More information about the TYPO3-english mailing list