[TYPO3-dev] Loading columnitems from TCA

Tapio Markula tapio.markula at dnainternet.net
Tue Aug 29 16:03:12 CEST 2006


Sune kirjoitti:
> Hi
> 
> I have the following code:
> 
>   t3lib_div::loadTCA('tx_fbdbfields_profiles');
>   $label =
> $GLOBALS['TCA']['tx_fbdbfields_profiles']['columns']['sex']['config']['items
> ']['0']['0'];
> 
> Now label is
> "LLL:EXT:fb_dbfields/locallang_db.xml:tx_fbdbfields_profiles.sex.I.0".
> 
> What i want is to get the real label. But i cant figure out how :(
> 

Where you need it?
In general the language tool automatic fetch the real label.
But if you want to redefine Frontend label, you might need the information.
Or if you want to make marker. But you don't tell,
*where* you would need it.





More information about the TYPO3-dev mailing list