[Flow] Accessing object element in Fluid

Bastian Waidelich bastian at typo3.org
Tue Mar 11 14:28:52 CET 2014


Ali Reza Sajedi wrote:

> In Fluid I have the following (<f:debug>{kloster}</f:debug>.)
>
> How do I call the Persistence_Object_Identifier of ort?

> SUB\Germaniasacra\Domain\Model\Klosterprototypepersistableproxy
> Persistence_Object_Identifier => '8f8e316e-4c47-ebc5-359b-8b13fce4f80e'
> (36)
> kloster => 'Kollegiatstift Bockenem' (23)
> klosterstandorts => array(1)
>   integer 0 =>
> SUB\Germaniasacra\Domain\Model\Klosterstandortprototypepersistable
>     Persistence_Object_Identifier =>
> 'ef9ddc1d-65e1-1457-d9f2-3f827cc96759'(...)


{kloster.klosterstandorts.0 -> f:format.identifier()}


PS: "Klosterstandorts" is a mix between English and German I guess ;)


-- 
Bastian Waidelich


More information about the Flow mailing list