[TYPO3-mvc] Blog example: Number of comments

Bastian Waidelich bastian at typo3.org
Thu Jul 30 10:58:44 CEST 2009


Julian Kleinhans wrote:

Hi,

> I think its a good, really good idea.
> Anyway, post.comments is a object and not an array

Yes, but it will work, cause Fluid allows objects of type 
ArrayAccess/Traversable if you expect an array in your view helper.


> Is that viewHelper not one for the FLUID viewHelper extension?

Äh wat?


Julian, could you please only quote lines of the original message that 
you are referring to. Thanks ;)

Bastian


More information about the TYPO3-project-typo3v4mvc mailing list