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

JoH asenau info at cybercraft.de
Sat Nov 6 23:09:23 CET 2010


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.

Cheers

Joey

-- 
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tslib_content_LOAD_REGISTER.diff
Type: application/octet-stream
Size: 1286 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20101106/237250fa/attachment.obj>


More information about the TYPO3-team-core mailing list