TYPO3  7.6
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
LocalizationFactory Class Reference
Inheritance diagram for LocalizationFactory:
SingletonInterface

Public Member Functions

 __construct ()
 

Public Attributes

 $store
 

Protected Member Functions

 initialize ()
 
 initializeCache ()
 
 localizationOverride ($fileReference, $languageKey, $charset, $errorMode, array &$LOCAL_LANG)
 

Protected Attributes

 $cacheInstance
 
 $errorMode
 

Detailed Description

Provides a language parser factory.

Definition at line 24 of file LocalizationFactory.php.

Constructor & Destructor Documentation

__construct ( )

Class constructor

Definition at line 44 of file LocalizationFactory.php.

References LocalizationFactory\initialize().

Member Function Documentation

initialize ( )
protected

Initialize

Returns
void

Definition at line 54 of file LocalizationFactory.php.

References LocalizationFactory\initializeCache(), and GeneralUtility\makeInstance().

Referenced by LocalizationFactory\__construct().

initializeCache ( )
protected

Initialize cache instance to be ready to use

Returns
void

Definition at line 65 of file LocalizationFactory.php.

References GeneralUtility\makeInstance().

Referenced by LocalizationFactory\initialize().

localizationOverride (   $fileReference,
  $languageKey,
  $charset,
  $errorMode,
array &  $LOCAL_LANG 
)
protected

Override localization file

This method merges the content of the override file with the default file

Parameters
string$fileReference
string$languageKey
string$charset
int$errorMode
array$LOCAL_LANG
Returns
void

Definition at line 157 of file LocalizationFactory.php.

References LocalizationFactory\$errorMode, $GLOBALS, elseif, GeneralUtility\getFileAbsFileName(), and ArrayUtility\mergeRecursiveWithOverrule().

Member Data Documentation

$cacheInstance
protected

Definition at line 29 of file LocalizationFactory.php.

$errorMode
protected

Definition at line 34 of file LocalizationFactory.php.

Referenced by LocalizationFactory\localizationOverride().

$store

Definition at line 39 of file LocalizationFactory.php.