[TYPO3] The use of itemsProcFunc

Jeppe Donslund jd at webmasters.dk
Mon Sep 24 11:52:23 CEST 2007


Hi,

I really havo no clue, where to start.

I am really sure I need to use itemsProcFunc in tca of an extension.

But I do not know where to put the code.

My tca looks like this right now, but where should i put the function 
which manipulates my data?


"crossreferences" => Array (		
	"exclude" => 1,		
	"label" => 
LLL:EXT:wm_pf_videos/locallang_db.xml:tx_wmpfvideos_videos.crossreferences", 


		"config" => Array (
		"type" => "select",	
		"foreign_table" => "tx_wmpfvideos_videos",	
		"foreign_table_where" => " AND tx_wmpfvideos_videos.pid = 
###CURRENT_PID### ORDER BY tx_wmpfvideos_videos.person",	
		"size" => 10,	
		"minitems" => 0,
		"maxitems" => 10,
		"itemsProcFunc" = "wm_pf_videos_itemsProcFunc.php:->crossreference",
	)
),

The itemsProcFUnc line is not right, I know. But how should it be.

I really hope someone could help me. I wanna learn this.


Regards
Jeppe Donslund


More information about the TYPO3-english mailing list