Integrate function to determine extension key from a table name and vice versa
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.
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)
#1 Updated by Oliver Hader over 13 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.
#5 Updated by Alexander Opitz almost 5 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.