[TYPO3-dev] RFC:s standard processing property as stdWrap replacement

Martin Kutschker Martin.Kutschker at n0spam-blackbox.net
Fri Apr 13 10:37:43 CEST 2007


Hi!

stdWrap is nice, but it suffers from the built-in way the processing (or 
transformation) of the data. Therefore it has multiple wraps and stdWraps 
and object appends and prepends.

As a replacement I suggest the processing array. Like a COA it holds its 
operations in a numbered array. So the order of the data processing can be 
determined easily.

eg.

foobar = TEXT
foobar.value = some text
foobar.proc.20.wrap = <i> | </i>
foobar.proc.30.append = !
foobar.proc.10.wrap = <b> | </b>
foobar.proc.40.prepend = This is

yields "This is <i><b>some text</b></i>!". Note the order of the "execution".

Masi




More information about the TYPO3-dev mailing list