Issue Bug Closed

#20360Convert from extension prefix to extension key

Sebastian Kurfuerst 04/26/09, 15:51 updated 08/06/10, 13:24

Description

Problem:
For the new autoloader, we need a method to derive the extension name from the class name. The class has the form tx_myextension_something, and we need the extension key from that. Thus, we need a method which receives tx_myextension, and gives you back the extension key (which might be my_extension or myextension, depending how you named the extension).

Solution:
Add a method getExtensionKeyByPrefix to t3lib_extMgm.

Notes:
This patch is part of a patch series to implement the autoloader. The patches have been worked out together with Olly. The code for this patch has been created by Dmitry.

(issue imported from #M10986)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.