[TYPO3-mvc] [TYPO3-v4] Is action uncached?
Xavier Perseguers
typo3 at perseguers.ch
Thu May 27 13:58:35 CEST 2010
Hi,
>> Xavier Perseguers wrote:
>>> Well, the problem is not to create an uncached action. I know how to do
>>> it since the very beginning of Extbase (as I'm an early adopter/tester)
>>> ;-) The underlying problem is that I'd like to know inside the
>>> controller, when performing any action (that is in some common methods
>>> for both cached and uncached actions) whether the current action is
>>> running in cache or non cached mode.
>>
>> If you have access to $this->cObj, you can use
>> $this->cObj->getUserObjectType(). It returns OBJECTTYPE_USER_INT if
>> current
>> plugin object is uncached.
Extbase is a great abstraction layer... It seems I may only get tslib_cObj->data which holds the tt_content table row...
May some Extbase dev give me a hint? Missing feature in Extbase for my v4 edge-case?
--
Xavier Perseguers
http://xavier.perseguers.ch/en
More information about the TYPO3-project-typo3v4mvc
mailing list