[TYPO3-dev] Get extKey from classname

Dmitry Dulepov [typo3] dmitry at typo3.org
Thu Aug 21 13:23:30 CEST 2008


Hi!

Steffen Kamper wrote:
> there is no possibility to get extKey from a classname. The other way is 
> implemented in t3lib_extMgm, but it'S not possible to revert again.
> 
> Any ideas? I thought about adding classnames of extension to 
> $TYPO3_LOADED_EXT

Good idea! But I think it is enough to add prefix ("tx_myext_"), not all class names. There can be many classes in the extension, adding them all is a waste of memory.

-- 
Dmitry Dulepov
TYPO3 Core team
My TYPO3 book: http://www.packtpub.com/typo3-extension-development/book
In the blog: http://typo3bloke.net/pages/book-reviews/presentation-zen-by-garr-reynolds/




More information about the TYPO3-dev mailing list