[TYPO3] TypoScript - userFunc - passing value

Tomas Mrozek mail at cascaval.com
Wed May 30 14:30:51 CEST 2007


> TS is not a programing language.

I understand that. I guess that one can do so much with TS that one
sometimes expects it to do what it's not supposed to do. :)

>> temp.test = TEXT
>> temp.test.value = 99
>>
>> subparts.TEST = USER
>> subparts.TEST {
>>   userFunc = user_myClass->myFunction
>>   myValue < temp.test
>> }

> myValue becomes "TEXT" and there will be an array with the rest of
> "temp.test".

OK. Now I see that $conf['myValue.']['value'] actually contains the
value of "temp.test".

> "<" oprator copies object (in this case "TEXT" string and inner properties as array). For predefined
> objects each property is processed by core. For your objects you define how to process it.

Fair enough. Thank you very much for clarifying that!

Tomas Mrozek


More information about the TYPO3-english mailing list