[TYPO3-english] Access to xml tokens (LLL) from php
Gorosito Gonzalo
xgonzalo at gmail.com
Wed Dec 21 22:56:31 CET 2011
We're taking a resultset of a direct SELECT from a table via using pure PHP
Code, so we need to translate the values of one field, and translate it
using the XML translations that we already have, all pure PHP, no
typoscript.
#######################################
# Gonzalo Gorosito
# Programador && sysadmin
#
# http://www.tutorialesdebian.com - Tutoriales para debianeros, scripts,
info, notícias y mucho mas.
# http://www.ggorosito.com.ar - Website personal
#######################################
On Mon, Dec 19, 2011 at 6:52 PM, Kay Strobach <typo3 at kay-strobach.de> wrote:
> Code examples?
> Environment?
>
> Regards
> KAy
>
> Am 19.12.2011 22:48, schrieb Gorosito Gonzalo:
> > Hi
> >
> > I'm trying to get a LLL lang label from the typo3 label from an own php
> > It wont work because it's not a typo3 object
> >
> > Anyway I try to print the content of $GLOBALS['LANG'] and the
> > LL_files_cache and LL_labels_cache arrays are empty
> >
> > Any ideas?
> >
> > Thanks in advance!
> > #######################################
> > # Gonzalo Gorosito
> > # Programador && sysadmin
> > #
> > # http://www.tutorialesdebian.com - Tutoriales para debianeros,
> scripts,
> > info, notícias y mucho mas.
> > # http://www.ggorosito.com.ar - Website personal
> > #######################################
>
>
> --
> http://www.kay-strobach.de - Open Source Rocks
>
> TYPO3 .... inspiring people to share!
> Get involved: http://typo3.org
>
> Answere was usefull: https://flattr.com/profile/kaystrobach
> _______________________________________________
> 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