[TYPO3-dev] COA_INT in extension ?

Steffen Kamper steffen at dislabs.de
Fri Sep 29 19:00:30 CEST 2006


"Peter Russ" <peter.russ at 4many.net> schrieb im Newsbeitrag 
news:mailman.1.1159538294.29773.typo3-dev at lists.netfielders.de...
> Steffen Kamper schrieb:
> [...]
>
>> Hi Joey,
>>
>> ok - i don't understand really, because i thought - a COA_INT is a non 
>> cached Object and has to be generated each time. But maybe this 
>> Text-Object is static.
>
> COA_INT is "non cached" but your PHP code produce a fixed value  ;-)
>
> $TS['conf.']['10.']['value']=strftime('%D - %H:%M:%S',time())
>
> So in your cache is the marker like
> 10{
> value=strftime('%D - %H:%M:%S',28391237193)
> }
>
> And this is NOT dynamic ;-)
>
>>
>> Ok, I switched arround by doing this:
>>
>> $TS['conf']='COA_INT';
>> $TS['conf.']['10']='USER';
>> $TS['conf.']['10.']['userfunc']='tx_cachetest_pi1->callTimeSingle';
>> return $this->cObj->cObjGetSingle($TS['conf'],$TS['conf.']);
>>
>> but unfortunally there is no Output - ahrgg :-)
>> Maybe you know why ?
>
> Try this:
>  $TS['conf.']['10.']['userFunc']='tx_cachetest_pi1->callTimeSingle';
>
> Might help ;-)
>
> Regs. Peter.
> -- 

Hi Peter - you are absolutly right !
Now it works - great !!!

I talked to Joey and the tutorial with his example is now online:
http://www.sk-typo3.de/COA_INT-in-Extensions.190.0.html

many thanks for inspiration and opening the horizont !
vg  Steffen

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






More information about the TYPO3-dev mailing list