[TYPO3-dev] itemsProcFunc datamap?
Steffen Kamper
steffen at sk-typo3.de
Mon Jun 30 12:55:37 CEST 2008
Brian Bendtsen schrieb:
> 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
look at the arrays, it's all in
t3lib_div::debug(array($params,$conf),'show me');
the arrays are plaiin arrays, there are no objects in.
vg Steffen
More information about the TYPO3-dev
mailing list