[TYPO3-dev] how to iterate over LoadedExtensionArrayElement

Jigal van Hemert jigal.van.hemert at typo3.org
Wed Nov 6 13:35:23 CET 2013


Hi,

On 4-11-2013 14:40, Franz Holzinger wrote:
> since TYPO3 6.2 the TYPO3_LOADED_EXT envirnoment variable gives an
> object of the class TYPO3\CMS\Core\Compatibility\LoadedExtensionsArray.

As Alexander explained, this is the risk you take when not using API 
methods and instead relying on the internal representation of the 
information.

In your case you need for some reason to check for extension keys 
without underscores. If that is still a requirement you have to copy the 
implementation for each core version which you want to support and check 
with each release if nothing has changed in the internal data.

-- 
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3 .... inspiring people to share!
Get involved: typo3.org



More information about the TYPO3-dev mailing list