[TYPO3-dev] Determine which table belongs to with extension key

Oliver Hader oh at inpublica.de
Mon Jan 29 12:34:14 CET 2007


Hi Elmar,

Elmar Hinz wrote:
> Am Mon, 29 Jan 2007 10:25:59 +0100 schrieb Oliver Hader:
>> is there a function that tells me the extension key of a table?
>> e.g. table "tx_myextension_data" -> "my_extension"
> 
> as long as the table names keep the rules, the whole extension key is in
> the second part of the name:

That's true and I agree.

> The comparism itself should be secure. Nobody can register
> "mysuper_extension" if "my_superextension" is already registered. I have
> provided in a patch for TER to prohibit such "double" registrations. As
> far as I know Robert has implemented it.

Thanks for the information. I didn't know this and never tried to
register a "similar" key in TER.

Nevertheless, I've created a small patch for t3lib_extMgm. If anyone is
interested, please have a look: http://bugs.typo3.org/view.php?id=4877


olly
-- 
Oliver Hader
http://inpublica.de/




More information about the TYPO3-dev mailing list