[TYPO3-dev] Value Object as a Controller Argument?

Helmut Hummel helmut.hummel at typo3.org
Sat Dec 27 13:52:04 CET 2014


Hu Christian,

Am 27.12.14 um 01:41 schrieb Christian Stüdemann:

> it's nice and easy to register entity objects as controller arguments,
> but is there a way to map URL parameters to transient value objects in
> the same way?

Yes, this works out of the box since TYPO3 6.2 if the rewritten property 
mapper is enabled (which it is by default).

Just create the class and reference it as controller argument.

Kind regards,
Helmut

-- 
Helmut Hummel
Release Manager TYPO3 6.0
TYPO3 CMS Active Contributor, TYPO3 Security Team Member

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



More information about the TYPO3-dev mailing list