[TYPO3-ect] access tt_content values of the current record
Fabien Udriot
fudriot at omic.ch
Tue Aug 21 01:08:33 CEST 2007
I found a way :
$this->controller->context->contentObject->data['tstamp'] //display time
But it there not a shorter way to write this ??
Philip Almeida a écrit :
> $this->controller->configurati
>> ons->dump() display an array with :
>>
>> - the TS values
>> - the flexform values of the record
>
>
> These are things that should go to a manual.
> I will keep trac of them.
>
> Regards
>
> Philip
>
>
>
> On 8/20/07, Fabien Udriot <fudriot at omic.ch> wrote:
>> Hi !
>>
>> Once upon a time, we could write this :
>>
>> $this->controller->configurations['tt_content.tstamp']
>>
>> ... The result was the tstamp of the record. But things have changed.
>> How can we access the values of the current record ?
>>
>> $this->controller->configurations->dump() display an array with :
>>
>> - the TS values
>> - the flexform values of the record
>>
>> Does it has to do with the new context object ?
>> $this->context->getData('key')
>>
>> _______________________________________________
>> TYPO3-team-extension-coordination mailing list
>> TYPO3-team-extension-coordination at lists.netfielders.de
>>
>> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-team-extension-coordination
>>
>
>
>
More information about the TYPO3-team-extension-coordination
mailing list