TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\Form\Localization Class Reference
Inheritance diagram for TYPO3\CMS\Form\Localization:
tx_form_System_Localization

Public Member Functions

 __construct ($localLanguageFile='LLL:EXT:form/Resources/Private/Language/locallang_controller.xlf')
 
 getLocalLanguageLabel ($labelKey)
 

Protected Attributes

 $localLanguageFile
 

Detailed Description

This file is part of the TYPO3 CMS project.

It is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, either version 2 of the License, or any later version.

For the full copyright and license information, please read the LICENSE.txt file that was distributed with this source code.

The TYPO3 project - inspiring people to share! Class to handle localizations

Author
Patrick Broens patri.nosp@m.ck@p.nosp@m.atric.nosp@m.kbro.nosp@m.ens.n.nosp@m.l

Definition at line 22 of file Localization.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Form\Localization::__construct (   $localLanguageFile = 'LLL:EXT:form/Resources/Private/Language/locallang_controller.xlf')

Constructor

Parameters
string$localLanguageFileFile reference to the local language file

Definition at line 36 of file Localization.php.

References TYPO3\CMS\Form\Localization\$localLanguageFile.

Member Function Documentation

◆ getLocalLanguageLabel()

TYPO3\CMS\Form\Localization::getLocalLanguageLabel (   $labelKey)

Get a label from local language

Parameters
string$labelKeyKey to look for
Returns
string

Definition at line 46 of file Localization.php.

References $GLOBALS, and TYPO3_MODE.

Member Data Documentation

◆ $localLanguageFile

TYPO3\CMS\Form\Localization::$localLanguageFile
protected

Definition at line 29 of file Localization.php.

Referenced by TYPO3\CMS\Form\Localization\__construct().