[TYPO3-core] Feature #10986: Convert from extension prefix to extension key

Oliver Hader oliver at typo3.org
Fri May 1 16:46:41 CEST 2009


Hi Sebastian,

Sebastian KurfŸürst schrieb:
> This is an SVN patch request.
> 
> Type: Feature
> 
> BT Reference: http://bugs.typo3.org/view.php?id=10986
> 
> Branch: trunk
> 
> 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.

I've added a testcase for this RFC.

+1 on reading and testing

olly
-- 
Oliver Hader
TYPO3 Release Manager 4.3
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0010986_v2.patch
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20090501/16084202/attachment.txt 


More information about the TYPO3-team-core mailing list