5102 Posts in 1520 Topics by 1116 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 867 Views |
-
How to show TabSets names of a FieldSet?

4 August 2010 at 3:02am
Hello all!
I have a FieldSet and I need to know what Tabs it has. I looked for methods like getTabSets or getTabs but I didn'd find anything
Would you mind to help me to get names of Tabs of another Set if it has them?
I mean if I have Content.Main, Content.Metadata etc I will get "Main", "Metadata"...Thank you
-
Re: How to show TabSets names of a FieldSet?

4 August 2010 at 10:45am
Have a look here:
http://api.silverstripe.org/2.4/forms/fields-structural/TabSet.htmlThere are a couple of promising sounding functions: getTabSet() although I can't find one example of it being used, and FieldHolder says it returns an html representation although you'll probably want to clear the requirements first!
hth
| 867 Views | ||
|
Page:
1
|
Go to Top |

