[TASK] Add missing XCLASS to the t3lib_l10n_* classes
authorXavier Perseguers <xavier@typo3.org>
Mon, 5 Sep 2011 06:43:54 +0000 (08:43 +0200)
committerXavier Perseguers <xavier@typo3.org>
Mon, 5 Sep 2011 07:07:00 +0000 (09:07 +0200)
The t3lib_l10n_* classes lack the XCLASS definition even though
they are instantiated with makeInstance().

Change-Id: I5304552a6ce8ad943dcd27d977754d055e60c694
Resolves: #29473
Releases: 4.6
Reviewed-on: http://review.typo3.org/4763
Reviewed-by: Tolleiv Nietsch
Tested-by: Tolleiv Nietsch
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
t3lib/l10n/class.t3lib_l10n_factory.php
t3lib/l10n/class.t3lib_l10n_store.php
t3lib/l10n/parser/class.t3lib_l10n_parser_llphp.php
t3lib/l10n/parser/class.t3lib_l10n_parser_llxml.php
t3lib/l10n/parser/class.t3lib_l10n_parser_xliff.php

index 8864ebd..9bf7fe6 100644 (file)
@@ -178,4 +178,9 @@ class t3lib_l10n_Factory implements t3lib_Singleton {
 
 }
 
+
+if (defined('TYPO3_MODE') && isset($GLOBALS['TYPO3_CONF_VARS'][TYPO3_MODE]['XCLASS']['t3lib/l10n/class.t3lib_l10n_factory.php'])) {
+       include_once($GLOBALS['TYPO3_CONF_VARS'][TYPO3_MODE]['XCLASS']['t3lib/l10n/class.t3lib_l10n_factory.php']);
+}
+
 ?>
\ No newline at end of file
index 4cc4993..b6c411f 100644 (file)
@@ -255,4 +255,9 @@ class t3lib_l10n_Store implements t3lib_Singleton {
        }
 }
 
+
+if (defined('TYPO3_MODE') && isset($GLOBALS['TYPO3_CONF_VARS'][TYPO3_MODE]['XCLASS']['t3lib/l10n/class.t3lib_l10n_store.php'])) {
+       include_once($GLOBALS['TYPO3_CONF_VARS'][TYPO3_MODE]['XCLASS']['t3lib/l10n/class.t3lib_l10n_store.php']);
+}
+
 ?>
\ No newline at end of file
index 7b67541..5a07419 100644 (file)
@@ -238,4 +238,9 @@ class t3lib_l10n_parser_Llphp implements t3lib_l10n_parser {
        }
 }
 
+
+if (defined('TYPO3_MODE') && isset($GLOBALS['TYPO3_CONF_VARS'][TYPO3_MODE]['XCLASS']['t3lib/l10n/parser/class.t3lib_l10n_parser_llphp.php'])) {
+       include_once($GLOBALS['TYPO3_CONF_VARS'][TYPO3_MODE]['XCLASS']['t3lib/l10n/parser/class.t3lib_l10n_parser_llphp.php']);
+}
+
 ?>
\ No newline at end of file
index 9c7a53a..0cde4ac 100644 (file)
@@ -181,4 +181,9 @@ class t3lib_l10n_parser_Llxml extends t3lib_l10n_parser_AbstractXml {
        }
 }
 
+
+if (defined('TYPO3_MODE') && isset($GLOBALS['TYPO3_CONF_VARS'][TYPO3_MODE]['XCLASS']['t3lib/l10n/parser/class.t3lib_l10n_parser_llxml.php'])) {
+       include_once($GLOBALS['TYPO3_CONF_VARS'][TYPO3_MODE]['XCLASS']['t3lib/l10n/parser/class.t3lib_l10n_parser_llxml.php']);
+}
+
 ?>
\ No newline at end of file
index 664d7f3..4d70503 100644 (file)
@@ -87,4 +87,9 @@ class t3lib_l10n_parser_Xliff extends t3lib_l10n_parser_AbstractXml {
        }
 }
 
+
+if (defined('TYPO3_MODE') && isset($GLOBALS['TYPO3_CONF_VARS'][TYPO3_MODE]['XCLASS']['t3lib/l10n/parser/class.t3lib_l10n_parser_xliff.php'])) {
+       include_once($GLOBALS['TYPO3_CONF_VARS'][TYPO3_MODE]['XCLASS']['t3lib/l10n/parser/class.t3lib_l10n_parser_xliff.php']);
+}
+
 ?>
\ No newline at end of file