| Function |
Return type |
Description |
| __construct($id:string) |
|
Create instance of fieldset with unique ID.
|
| GetId() |
String |
Get ID set in constructor. |
| GetClientId() |
String |
Get ID used client side. This is useful for interacting with the control using JavaScript. |
| GetLegend |
String |
Get text used in legend (title). |
| SetLegend($value:string) |
|
Set text used in legend (title). |
| GetContent() |
String |
Get content from fieldset. |
| SetContent($value:string) |
|
Set content displayed in fieldset. |
| SetAttribute($attr:SMFieldsetAttribute, $value:string) |
|
Set attribute. Use enum SMFieldsetAttribute to specify which attribute to define. |
| GetAttribute($attr:SMFieldsetAttribute) |
String |
Get attribute value. Use enum SMFieldsetAttribute to specify which attribute value to retrieve. |
| SetPostBackControl($controlId:string) |
|
Set ID of control to set as post back control, when ENTER is pressed in the fieldset (sub form). Use $control->GetClientId() to get the control ID. |
| GetPostBackControl() |
String |
Get the ID of the post back control assigned using SetPostBackControl($controlId:string). |
| SetDisplayFrame($value:boolean) |
|
Set True to display frame around sub form (default) or False to disable it. |
| GetDisplayFrame() |
Boolean |
Get value indicating whether a border/frame will be rendered around the fieldset. |
| SetRender($value:boolean) |
|
Set True to render fieldset with its content, False not to. |
| GetRender() |
Boolean |
Get value indicating whether fieldset will be rendered when Render() function is called. |
| Render() |
String |
Get HTML defining fieldset with all its controls. |