Feature #16915
closedIntegrate function to determine extension key from a table name and vice versa
0%
Description
Sometimes it could be necessarry to know which table belongs to which extension key. If such a mapping is integrated, the inverse function is also possible.
e.g.
table 'tx_myextension_data' -> extension 'my_extension'
extension 'my_extension' -> tables 'tx_myextension_data,tx_myextension_categories'
The results should be stored in $GLOBALS['TYPO3_LOADED_EXT'][<extKey>]['tables'] and $GLOBALS['TYPO3_LOADED_TABLES'][<tableName>].
(issue imported from #M4877)
Files
Updated by Oliver Hader almost 18 years ago
Please see the attached file 0004877.patch.
A new watchTables method was integrated to t3lib_extMgm, that just watches the inclusion of new tables while processing the cached ext_tables.php file. Tables are are assigne to a key (and vice versa) by comparison of TCA before and after the processing of an extension's ext_tables.php file.
The PNG shows the structure of TYPO3_LOADED_TABLES using Tools>Configuration.
Updated by Marcus Krause almost 16 years ago
I guess this functionality is only useful when you are able to retrieve the extenension key to a table at ANY time. What happens when you deinstall the extension and afterward ask for the origin of a still existing table of that extension?
Updated by Helmut Hummel about 13 years ago
- Category changed from Extension Manager to Backend API
- Target version deleted (
0) - PHP Version deleted (
5)
Updated by Mathias Schreiber almost 10 years ago
- Status changed from New to Needs Feedback
is this still valid?
Updated by Alexander Opitz over 9 years ago
- Status changed from Needs Feedback to Closed
No feedback within the last 90 days => closing this issue.
If you think that this is the wrong decision or experience this issue again, then please write to the mailing list typo3.teams.bugs with issue number and an explanation or open a new ticket and add a relation to this ticket number.