[FLOW3-general] Question about associations and JsonView

"Christian Müller (FLOW3 Team)" christian.mueller at typo3.org
Mon Apr 23 09:13:07 CEST 2012


Hi Davide,

unfortunately the formatting was quite disrupted in your mail, but the 
relation annotation looks good, you can even leave the targetEntity 
information out, we fill that in anyway.

If you assign your hotel to "value" in your JsonView you would want to 
have a configuration as the following:

array (
	'value' => array (
		'_descend' => array (
			'user' => array(
				'_descentAll' => array(
				)
			)
		)
	)

)

Should export the assigned hotel with all users.

Cheers,
Christian

-- 
Christian Mueller
TYPO3 Core Team

TYPO3 .... inspiring people to share!
Get involved: typo3.org


More information about the FLOW3-general mailing list