[TYPO3-dev] COA_INT in extension ?
Peter Russ
peter.russ at 4many.net
Fri Sep 29 15:58:14 CEST 2006
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.
--
Fiat lux!
Docendo discimus.
_____________________________
4Many® Services
openBC: http://www.openbc.com/go/invuid/Peter_Russ
More information about the TYPO3-dev
mailing list