private function getLocalizedLabelsFromTypoScript($extensionName)
    {
        if ($extensionName === '') {
            throw new \InvalidArgumentException('The parameter $extensionName must not be empty.', 1331489630);
        }

        $result = [];
        $namespace = 'plugin.tx_' . $extensionName . '._LOCAL_LANG.' . $this->languageKey;

        $configuration = \Tx_Oelib_ConfigurationRegistry::get($namespace);
        foreach ($configuration->getArrayKeys() as $key) {
            $result[$key] = $configuration->getAsString($key);
        }

        return $result;
    }
private function getLocalizedLabelsFromTypoScript($extensionName)
    {
        if ($extensionName === '') {
            throw new \InvalidArgumentException('The parameter $extensionName must not be empty.', 1331489630);
        }

        $result = [];
        $namespace = 'plugin.tx_' . $extensionName . '._LOCAL_LANG.' . $this->languageKey;

        $configuration = \Tx_Oelib_ConfigurationRegistry::get($namespace);
        foreach ($configuration->getArrayKeys() as $key) {
            $result[$key] = $configuration->getAsString($key);
        }

        return $result;
    }
private function getLocalizedLabelsFromTypoScript ( $ extensionName ) { if ( $ extensionName === '' ) { throw new \ InvalidArgumentException ( 'The parameter $extensionName must not be empty.' , 1331489630 ) ; } $ result = [ ] ; $ namespace = 'plugin.tx_' . $ extensionName . '._LOCAL_LANG.' . $ this -> languageKey ; $ configuration = \ Tx_Oelib_ConfigurationRegistry :: get ( $ namespace ) ; foreach ( $ configuration -> getArrayKeys ( ) as $ key ) { $ result [ $ key ] = $ configuration -> getAsString ( $ key ) ; } return $ result ; }
Returns the localized labels from an extension's TypoScript setup.

Returns only the labels set for the language stored in $this->languageKey

@param string $extensionName
the extension name to get the localized labels from TypoScript setup for,
must not be empty, the corresponding extension must be loaded

@return string[] the localized labels from the extension's TypoScript setup, will be empty if there are none
Returns the localized labels from an extension s TypoScript setup .