Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

solid example of ViewableData


Reply

2 Posts   1019 Views

Avatar
Nicolaas

22 November 2010 at 10:39pm Forum Moderator, 213 Posts

Hi

Can anyone recommend a sexy example of an implementation of ViewableData? I wonder how I can use this class most effectively.

Thank you

Nicolaas

Avatar
MarcusDalgren

22 November 2010 at 11:17pm Community Member, 288 Posts

Well there are several implementations in core. Both DataObject and ArrayData extend ViewableData so I guess that's a good place to start. Are you looking for anything more specific than just an implementation of ViewableData?