Project

General

Profile

Actions

Feature #16915

closed

Integrate function to determine extension key from a table name and vice versa

Added by Oliver Hader almost 18 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend API
Target version:
-
Start date:
2007-01-29
Due date:
% Done:

0%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

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

0004877.patch (4.77 KB) 0004877.patch Administrator Admin, 2007-01-29 12:21
0004877.png (46.8 KB) 0004877.png Administrator Admin, 2007-01-29 12:21
Actions #1

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.

Actions #2

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?

Actions #3

Updated by Helmut Hummel about 13 years ago

  • Category changed from Extension Manager to Backend API
  • Target version deleted (0)
  • PHP Version deleted (5)
Actions #4

Updated by Mathias Schreiber almost 10 years ago

  • Status changed from New to Needs Feedback

is this still valid?

Actions #5

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.

Actions

Also available in: Atom PDF