Resolves #56954: getIsoCodeField() is protected but needed from outside
authorstan <stan@735d13b6-9817-0410-8766-e36946ffe9aa>
Sun, 16 Mar 2014 13:23:58 +0000 (13:23 +0000)
committerstan <stan@735d13b6-9817-0410-8766-e36946ffe9aa>
Sun, 16 Mar 2014 13:23:58 +0000 (13:23 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/static_info_tables/trunk@84302 735d13b6-9817-0410-8766-e36946ffe9aa

ChangeLog
Classes/Utility/LocalizationUtility.php

index 9e67712..da0d1fe 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2014-03-16  Stanislas Rolland  <typo3@sjbr.ca>
+
+       * Resolves #56954: getIsoCodeField() is protected but needed from outside
+
 2014-02-27  Stanislas Rolland  <typo3@sjbr.ca>
 
        * Resolves #52431: Localization of nameLocalized not working in preview of attribute
index 4f3acfb..c1efd94 100644 (file)
@@ -176,7 +176,7 @@ class LocalizationUtility {
         * @param integer index in the table's isocode_field configuration array
         * @return string field name
         */
-       protected static function getIsoCodeField ($table, $isoCode, $index = 0) {
+       public static function getIsoCodeField ($table, $isoCode, $index = 0) {
                $isoCodeField = '';
                $isoCodeFieldTemplate = $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['static_info_tables']['tables'][$table]['isocode_field'][$index];
                if ($isoCode && $table && $isoCodeFieldTemplate) {