Jump to:

17452 Posts in 4473 Topics by 1971 members


SilverStripe Forums » Archive » Displaying an array

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Page: 1
Go to End
Author Topic: 1172 Views
  • r0ar
    Community Member
    13 Posts

    Displaying an array Link to this post

    Ok, so have a variable length array and I want to display it.
    How exactly do I do that?

    is there some way that I can get a function to output html, that will be displayed?


  • Willr
    Forum Moderator
    5511 Posts

    Re: Displaying an array Link to this post

    I think you can use something called ArrayData which will convert your array into a viewable data object which you can iterate through / use in your template - http://doc.silverstripe.com/doku.php?id=arraydata

Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.