[TYPO3-core] Changing behavior of the TEXT cObject

Ernesto Baschny ernesto.baschny at typo3.org
Fri Feb 7 12:39:14 CET 2014


JoH asenau schrieb am 06.02.2014 15:59:
> Am 06.02.2014 15:18, schrieb Jigal van Hemert:
>> Hi,
>>
>> On 6-2-2014 9:08, François Suter wrote:
>>> Christopher (from the Doc Team) has proposed to clean up the TEXT
>>> cObject to make it behave like other cObjects. His patch [1] would throw
>>
>> Arguments have already been posted, so:
>>
>> -1 for removing the stdWrap properties from the root of the TEXT object
>>
>> +0 for adding the stdWrap properties to the root of every other object
>> (not against it, but it wouldn't add much advantages)
> 
> The goal of the original poster was to get a consistent usage of stdWrap
> for all cObjects, so at least this would be acchieved.
> From the performance point of view the impact would be neglectable.
> But readability would be slightly improved without having to use stdWrap
> before each and every property.
> 
> So IMHO, if someone is willing to do it, at least it would not hurt too
> much.

Just need to take care if the new "stdWrap" properties on top level do
not conflict with already existing properties of the objects.

This cannot be done on "USER" object because it's unknown which
properties the called method will use.

Cheers,
Ernesto



-- 
Ernesto Baschny
TYPO3 CMS Core Developer
Release Manager TYPO3 4.5 & 6.2 LTS

TYPO3 .... inspiring people to share!
Get involved: typo3.org


More information about the TYPO3-team-core mailing list