[TYPO3-english] Use DataHandler to get language

Markus Klein klein.t3 at reelworx.at
Thu Jan 15 19:12:56 CET 2015


Hi!

Please be a bit more verbose on your problem description.
What do you want to achieve?
Are you working on a FE plugin or some BE module?

Kind regards
Markus

------------------------------------------------------------
Markus Klein
TYPO3 CMS Active Contributors Team Member

> -----Original Message-----
> From: typo3-english-bounces at lists.typo3.org [mailto:typo3-english-
> bounces at lists.typo3.org] On Behalf Of Bernhard Schenkenfelder
> Sent: Thursday, January 15, 2015 5:52 PM
> To: typo3-english at lists.typo3.org
> Subject: [TYPO3-english] Use DataHandler to get language
> 
> The class TYPO3\CMS\Core\DataHandling\DataHandler provides a very
> handy method getPID().
> 
> Unfortunately, I can't seem to be able to find a method that returns the
> language (sys_language_id) of the referenced item (basically content items
> and pages).
> 
> How would I do that?
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english



More information about the TYPO3-english mailing list