[TYPO3-dev] alwaysActivePIDlist

Peter Russ peter.russ at 4many.net
Tue Oct 24 09:40:03 CEST 2006


JoH asenau schrieb:
>>> Maybe we could add a "value-copy" into TS. Or we could create a
>>> function for it:
>>>
>>> obj1.prop := objVal(obj2)
>> Good idea, this would be much faster then executing stdWrap on all
>> properties.
>>
>> I'd call it cObjVal() though.
> 
> You don't have to "execute" stdWrap on all properties if you do it on
> demand.
> If there is whatever['stdWrap.'] do something, else do nothing.
> 
> With "value copy" it might even be slower than stdWrap since you had to use
> cObjGetSingle (including stdWrap) and copy the value to the desired place.
> 
> So "value copy" only makes sense if you want to reuse the same predefined
> value in different places. But this can already be done with LOAD_REGISTER
> so it would be enough to have stdWrap available, since you would be able to
> use
> data = register:whatever
> with it.

+1
Why invent a new function if we get more extending int/string/array to 
stdWrap? And the code has to be touched in either ways.

How can I help?

Regs. Peter.

-- 
Fiat lux!
Docendo discimus.
_____________________________
4Many® Services
openBC: http://www.openbc.com/go/invuid/Peter_Russ




More information about the TYPO3-dev mailing list