[TYPO3-mvc] Where to put FlexForm itemProcFuncs classes?

Steffen Müller typo3 at t3node.com
Thu May 28 02:29:54 CEST 2009


Hi.

In FlexForms you can manipulate items with custom classes/functions by
using itemProcFuncs.

<itemsProcFunc>tx_extKey_nameOfClass->main</itemsProcFunc>

The old-fashioned way would be to add a file
 class.extKey_nameOfClass.php
inside the extension folder.

Then include the class file in ext_tables.php:
 include_once(t3lib_extMgm::extPath($_EXTKEY).'class.extKey_nameOfClass.php');


What about the extbase-fashioned way?
Where to put it, how to name it?

-- 
cheers,
Steffen

http://www.t3node.com/


More information about the TYPO3-project-typo3v4mvc mailing list