[TYPO3-dev] RFC:s standard processing property as stdWrap replacement
Steffen Kamper
steffen at dislabs.de
Fri Apr 13 11:07:47 CEST 2007
"Martin Kutschker" <Martin.Kutschker at n0spam-blackbox.net> schrieb im
Newsbeitrag
news:mailman.1.1176453464.30614.typo3-dev at lists.netfielders.de...
> 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
Hi Masi,
isn't that the same like object.stdWrap.cObject=COA ?
What is with the other operations like converting etc. ?
vg Steffen
More information about the TYPO3-dev
mailing list