[Typo3-dev] Loading TCA

Mathias Schreiber [wmdb] mathias.schreiber at wmdb.de
Mon Jan 31 16:12:41 CET 2005


Kraft Bernhard wrote:
> Hallo List,
> 
> In one of my BE Module Extensions I loop trough $TCA with something like:
> foreach ($GLOBALS['TCA'] as $table => $ar) {
>     t3lib_div::loadTCA($table);
>     // Do something with $GLOBALS['TCA'][$table]
> }
> 
> the problems is that on some installations it seems as there is nothing
> in the TCA array.
> 
> How can I make sure the basic TCA array containing all existent tables
> is available ?

tip:
What if you removed an extension?
The tables are still there and if you only loop through TCA you will 
never find orphans from these tables.

I figure we are talking abount the cleanPix thingy.




More information about the TYPO3-dev mailing list