[TYPO3-dev] Get extKey from classname

Dmitry Dulepov [typo3] dmitry at typo3.org
Fri Aug 29 20:51:01 CEST 2008


Hi!

Steffen Kamper wrote:
> the idea is simple. When you add a plugin with extMgm, there is only the 
> classname as parameter, no extKey is given. So i searched for a 
> possibility to get the extKey from given classname, eg to get the extIcon

Actually, you could reply on $GLOBALS['_EXTKEY'] for this particular case. It is defined when this function is called in ext_localconf.php.

-- 
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