Project

General

Profile

Actions

Feature #23890

closed

Optimize stdWrap usage for TypoScript content element CONTENT

Added by Jo Hasenau about 14 years ago. Updated over 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

Also available in: Atom PDF