[TYPO3] The use of itemsProcFunc

Jeppe Donslund jd at webmasters.dk
Mon Sep 24 21:20:22 CEST 2007


Hi Tomas.

Thank you very much.

Can you tell me how to get ###CURRENT_PID### used in the class? I 
doesn't seems that I can use it directly.

Regards
Jeppe D.




Tomas Mrozek skrev:
> 1. Create PHP file for a class + function (class.tx_wmpfvideos_db.php).
> 
> 2. Create class (tx_wmpfvideos_db) + function (crossreference) in that 
> file.
> 
> 3. Include the file in ext_tables.php: 
> include_once(t3lib_extMgm::extPath($_EXTKEY).'class.tx_wmpfvideos_db.php');
> 
> 4. Set 'itemsProcFunc' => 'tx_wmpfvideos_db->crossreference'
> 
> Tomas Mrozek


More information about the TYPO3-english mailing list