SilverCart\Forms\FormFields\FieldGroup
A formfield to group CMS fields.
- Author: Sebastian Diel <sdiel@pixeltricks.de>
- Copyright: 2017 pixeltricks GmbH
- License: see license file in modules root directory
Synopsis
class FieldGroup
extends CompositeField
{
- // members
- protected FieldList $fields = NULL;
- protected $fieldHolder = NULL;
- // methods
- public void __construct()
- public string FieldHolder()
- public void push()
- public void pushAndBreak()
- public void breakAndPush()
- public FieldList getFields()
- public void setFields()
Hierarchy
Extends
- SilverStripe\Forms\CompositeField
Members
protected
- $fieldHolder
—
string
Markup of the field holder - $fields
—
SilverStripe\Forms\FieldList
Fields to manipulate
Methods
public
- __construct() — Constructor
- FieldHolder() — Returns the field markup
- breakAndPush() — Pushes the given field and breaks the line before
- getFields() — Returns the fields
- push() — Pushes the given field to the group
- pushAndBreak() — Pushes the given field and breaks the line after
- setFields() — Sets the fields