[TYPO3-dev] itemsProcFunc datamap?

Steffen Kamper steffen at sk-typo3.de
Mon Jun 30 12:32:58 CEST 2008


Brian Bendtsen schrieb:
> Hi
> 
> Im using IRRE in an extension of mine and need a select box in child 
> element to show special values. Therefore im using the itemsProcFunc 
> option.
> 
> The problem is, that the items in the selectbox has to generated by 
> using a value from the parent record. Im just not sure how to fetch a 
> value from the parent record. When using hooks like 
> processDatamap_afterDatabaseOperations its possible to access a complete 
> datamap. Is this possible with a function called from itemsProcFunc?
> 
> Any hints?
> 
> /Brian

sure, you need to declare the function with the params
  function doTheItemsProcFunc($params, $conf) { ... }

vg Steffen




More information about the TYPO3-dev mailing list