[TYPO3-core] RFC Feature #16284: Optimize stdWrap usage for TypoScript content element LOAD_REGISTER

Susanne Moog typo3 at susannemoog.de
Wed Nov 17 09:02:37 CET 2010


On 06.11.2010 23:09, JoH asenau wrote:
> This is an SVN patch request.
> 
> Type: Feature
> 
> Bugtracker references: http://bugs.typo3.org/view.php?id=16284
> 
> Branches: trunk
> 
> Problem:
> 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.
> 
> Solution:
> The attached patch will improve the element LOAD_REGISTER by
> 
> optimizing the usage of stdWrap for each register.
> 
> It uses the same improved mechanism as the refactored stdWrap function to determine register name and register properties and to avoid double function calls, when there is a register with both, a value and stdWrap properties.


committed to v3 trunk rev 9424 after my +1 by reading and testing (with
the header classes of css styled content)

Thx,

Susanne

-- 
What's worth the price is always worth the fight
Every second counts 'cause there's no second try

TYPO3 Core Team Member


More information about the TYPO3-team-core mailing list