Project

General

Profile

Actions

Bug #20360

closed

Convert from extension prefix to extension key

Added by Sebastian Kurfuerst over 15 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2009-04-26
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.3
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

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)


Files

extbase-extmgm.patch (1.37 KB) extbase-extmgm.patch Administrator Admin, 2009-04-26 15:51
0010986_v2.patch (3.9 KB) 0010986_v2.patch Administrator Admin, 2009-05-01 16:47
Actions #1

Updated by Oliver Hader over 15 years ago

Committed to SVN Trunk (rev. 5396)

Actions

Also available in: Atom PDF