[TYPO3-dev] Get extKey from classname
Steffen Kamper
info at sk-typo3.de
Fri Aug 29 19:37:30 CEST 2008
Ingo Renner schrieb:
> Steffen Kamper wrote:
>
> Hi Steffen,
>
>> The reason for my question is to get a default icon from the ext in
>> t3lib_extMgm, where normally the classname is given but not the extKey.
>> I experimented with something like
>> $TYPO3_LOADED_EXT[$key]['classnames'][] = $classfile;
>> There are not too much as only classfiles for plugins are in. It
>> works, i can browse this in BE->configuration, i only had some
>> difficulties with the order, that when i need this info, the plugin
>> may not be added to extMgm and classnames are empty.
>
> huh, what? I don't get it - can you explain your idea in more detail,
> please?
>
>
> Ingo
>
Hi Ingo,
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
vg Steffen
More information about the TYPO3-dev
mailing list