Project

General

Profile

Actions

Feature #23890

closed

Optimize stdWrap usage for TypoScript content element CONTENT

Added by Jo Hasenau over 13 years ago. Updated about 13 years ago.

Status:
Closed
Priority:
Should have
Category:
Communication
Target version:
-
Start date:
2010-10-31
Due date:
% Done:

0%

Estimated time:
PHP Version:
5.2
Tags:
Complexity:
Sprint Focus:

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)


Files

tslib_content_CONTENT.diff (3.32 KB) tslib_content_CONTENT.diff Administrator Admin, 2010-10-31 17:48
Actions #1

Updated by Steffen Kamper over 13 years ago

Committed to trunk rev 9267

Actions #2

Updated by Susanne Moog about 13 years ago

  • Target version deleted (4.5.0)
Actions

Also available in: Atom PDF