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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

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   1558 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