[TYPO3-dev] Alter foreign_table_where to select items from parent page

Mathias Schreiber [TYPO3] mathias at typo3.org
Tue Apr 24 13:05:24 CEST 2007


Brian Bendtsen schrieb:
> I haven't been able to find any documentation on it, how does it work?

That's interesting since it's part of the TCA definition manual.

Quote:
=====================================================
PHP function which is called to fill / manipulate the array with elements.

The function/method will have an array of parameters passed to it (where 
the item-array is passed by reference in the key 'items'). By modifying 
the array of items, you alter the list of items.
=====================================================

So include a PHP class in you ext_localconf.php and call a method.

Mathias




More information about the TYPO3-dev mailing list