TYPO3 / Fluid

Fluid template rendering engine - Standalone version
GNU Lesser General Public License v3.0
152 stars 93 forks source link

Document array and object property access #1010

Open cweiske opened 2 weeks ago

cweiske commented 2 weeks ago

The "fluid syntax" documentation at https://docs.typo3.org/other/typo3fluid/fluid/main/en-us/Usage/Syntax.html does not talk about how to access array and object properties.

It should show the following cases, preferably with syntactically equivalent PHP code:

mbrodala commented 2 weeks ago

Fun fact: it is already documented here: https://github.com/TYPO3/Fluid/blob/3510df3031d978f3fb8128f973a9d70eddb99df8/examples/Resources/Private/Singles/Variables.html

So if you could open a PR to copy the necessary info to the officially rendered docs, that would be wonderful. :-)

s2b commented 2 weeks ago

Yes, there are certainly some blind spots in the documentation we need to address. We will gladly accept PRs in this area.