StudioBonito\SilverStripe\Inuit\Forms\InuitForm
A base form class that transforms all fields to use inuit style extensions.
- Author: Tom Densham <tom.densham@studiobonito.co.uk>
- Copyright: Studio Bonito Ltd.
Synopsis
class InuitForm
extends Form
{
- // members
- protected string $template = 'InuitForm';
- // methods
- public static void perform_inuit_fieldlist_transformation()
- public void performInuitTransformation()
- protected $this performInuitFieldListTransformation()
- public mixed forTemplate()
Hierarchy
Extends
- Form
Members
protected
- $template
—
string
Set the forms template.
Methods
protected
- performInuitFieldListTransformation() — Transform all the {@link \FormField} objects in the {@link \FieldList} to use inuit form templates.
public
- forTemplate() — Apply the transformation before rendering the form HTML output.
- performInuitTransformation() — Transform all the {@link \FormField} objects in the {@link \Form} field and action {@link \FieldList} objects to use inuit form templates.
- perform_inuit_fieldlist_transformation() — Transform all the {@link \FormField} objects in the {@link \FieldList} to use inuit form templates.