[Flow] Accessing object element in Fluid

Chris Wolff - AERTiCKET AG cwolff at aer.de
Tue Mar 11 13:24:34 CET 2014


Hi have you Tryed this:
<f:debug>{kloster. Klosterstandorts.0}</f:debug>

Otherwise you have to use <f:for>

Regards chris

-----Ursprüngliche Nachricht-----
Von: flow-bounces at lists.typo3.org [mailto:flow-bounces at lists.typo3.org] Im Auftrag von Ali Reza Sajedi
Gesendet: Dienstag, 11. März 2014 13:01
An: flow at lists.typo3.org
Betreff: [Flow] Accessing object element in Fluid

Dear All,

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' (36)
    gruender => 'test' (4)
    bemerkung => 'test' (4)
    breite => double 55
    laenge => double 12
    bemerkung_standort => 'test' (4)
    temp_literatur_alt => 'test' (4)
    ort => SUB\Germaniasacra\Domain\Model\Ortprototypepersistable
     Persistence_Object_Identifier => 'ce03a106-1c39-3708-6994-2bf598a2f5f4' (36)
     ort => 'Aach' (4)


Thank you.
_______________________________________________
Flow mailing list
Flow at lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/flow



More information about the Flow mailing list