[TYPO3-dev] itemsProcFunc datamap?

Brian Bendtsen bb at bellevuevej.dk
Mon Jun 30 12:36:54 CEST 2008


Steffen Kamper skrev:
> 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
Hi

Yeah, Im with you this far, but I have tried to fetch the datamap like 
this:

$conf->datamap - but it returns nothing

/Brian




More information about the TYPO3-dev mailing list