[TYPO3-dev] Parsing selections in TCA

ktt kestutis98 at yahoo.com
Mon Aug 1 12:24:29 CEST 2011


Hello,

I'm writing a backend extension and have this:

$tempColumns = array (
	'tx_myextendedext_restrict' => array (		
		'exclude' => 1,		
		'label' => 'LLL:EXT:myextendedext/locallang_db.xml:pages.tx_myextendedext_restrict',		
		'config' => array (
			'type' => 'select',
			'foreign_table' => 'fe_groups',
			'foreign_table_where' => 'ORDER BY fe_groups.title DESC',
			'size' => 10,	
			'maxitems' => 20,
			'default' => ''
		)
	),
);

On save it writes results to tx_myextendedext_restrict.
How could be possible to parse the selection results with a function and write the result to other tables as well? So the function could control the writing process and parse the data?

Thank you in advance,
Kast A.




More information about the TYPO3-dev mailing list