[TYPO3-ect] access tt_content values of the current record
Elmar Hinz
elmar07 at googlemail.com
Wed Aug 22 02:13:04 CEST 2007
Hi Fabien,
Fabien Udriot wrote:
> > Looks good.
> Looks good but does not work. :-/
>
> $this->controller->context->getData('tstamp');
Hmm. Please file it to the bugtracker.
>
> In my opinion this is a too long string of code for getting the values
> of the current record.
> $this->controller->context->contentObject->data['tstamp']
In beta we should access all this kind of data and configurations by static
methods. That will look like
tx_Lib_Context::get('tstamp')
tx_Lib_Configurations::get('maximumValue')
You don't need to ship the controller around any more. The calls get short.
But for sure there new issues will pop up.
http://wiki.typo3.org/index.php/MVC_Framework/lib_div_Beta_Branch
>
> Furthemore, I see an inconsistency. Why flexform's value are put into
> the configurations array when the data of the record not ?
Because FF is configuration.
Regards
Elmar
More information about the TYPO3-team-extension-coordination
mailing list