Issue Feature Closed

#23890Optimize stdWrap usage for TypoScript content element CONTENT

Jo Hasenau 10/31/10, 17:48 updated 03/29/11, 17:47

Description

One part of the current TypoScript tuning process is to add missing stdWrap functions to existing content elements and optimize the current usage of stdWrap functions.

The attached patch will improve the element CONTENT by

adding stdWrap to the parameters

slide
slide.collect
slide.collectReverse
slide.collectFuzzy

that have been missing stdWrap properties.

adding stdWrap to the standalone call of the wrap function, since it should correspond to behaviour of stdWrap.wrap, which is now stdWrap aware.

optimizing the usage of the parameter

wrap

so that wrap will only be executed when there is a wrap available.

Additionally the check for the table prefix has been changed from a lot of different substr calls to trimExplode followed by inList.

(issue imported from #M16191)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.