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.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Archive /

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

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

FieldSet->renameField


Go to End


3 Posts   1504 Views

Avatar
BLU42 Media

Community Member, 71 Posts

2 August 2008 at 6:10am

Edited: 02/08/2008 6:11am

I was trying to use the renameField function as outlined in the docs and found that it was missing! I was able to obtain the code from Trac, though I was under the impression that this should have been in 2.2.2:

Changeset 53319

Avatar
Willr

Forum Moderator, 5523 Posts

2 August 2008 at 8:13pm

It looks like matt has just recently added it on that custom branch. I think I added that to the docs after I found that in the code while working on that 2.2.2assets branch... It will be part of 2.2.3 or whenever we merge the changes from that branch.

I will edit the docs to prevent confusing people

Avatar
BLU42 Media

Community Member, 71 Posts

3 August 2008 at 1:14am

Hi Will-

Thanks for clearing that up for me. That is a handy little piece of code!

John