FieldList function consistency

19 views
Skip to first unread message

Zenmonkey

unread,
Mar 13, 2014, 1:08:43 PM3/13/14
to silverst...@googlegroups.com
One thing that has always bothered me about the FieldList functions is the how inconsistent the implementation is.

addFieldToTab($target, $field) vs insertAfter($field, $target)

I'm used to now, but as a novice developer this caused so many headaches. This probably isn't a 3.x change but I think it's worth exploring for a future full version release

Simon Welsh

unread,
Mar 13, 2014, 1:19:02 PM3/13/14
to silverst...@googlegroups.com
--
You received this message because you are subscribed to the Google Groups "SilverStripe Core Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to silverstripe-d...@googlegroups.com.
To post to this group, send email to silverst...@googlegroups.com.
Visit this group at http://groups.google.com/group/silverstripe-dev.
For more options, visit https://groups.google.com/d/optout.

Zenmonkey

unread,
Mar 13, 2014, 3:26:40 PM3/13/14
to silverst...@googlegroups.com
That's awesome! It's been bugging me since I started with SS2.0 LOL
Reply all
Reply to author
Forward
0 new messages