[TYPO3-dev] Fixing the last 20% and TypoScript annoyance

Steffen Ritter info at rs-websystems.de
Tue Feb 9 15:45:32 CET 2010


JoH asenau schrieb:
> In any case I would prefer to use stdWrap as a kind of a trigger - if
> there's a key ['stdWrap.'] do something, else do nothing.
> The top level approach without stdWrap as a trigger will make checking more
> difficult, because we would have to check each and every top level parameter
> to decide if it is a stdWrap function or not.
> 
> But maybe there is an easy solution?

count(array_intersect(array_keys($TS['mypart.']),array('wrap','if',.....)))>0

You just need an array with all possible stdWrap functions.
> Joey
> 

Steffen




More information about the TYPO3-dev mailing list