Contents

Backend\Widgets\Form\IsFormElement

Overview

IsFormElement defines all methods to satisfy the FormElement contract

See Also

Protected Properties

protected FieldsetDefinition|null $activeTabSection

activeTabSection where fields are currently being added


Public Methods

public addFormField()

public addFormField(
    $fieldName,
    $label = null
): October\Rain\Element\Form\FieldDefinition 

addFormField adds a field to the fieldset

public getFormContext()

public getFormContext(): void

getFormContext returns the current form context

public getFormFieldset()

public getFormFieldset(): October\Rain\Element\Form\FieldsetDefinition 

getFormFieldset returns the current fieldset definition

public inActiveTabSection()

public inActiveTabSection($inSection, $callback): void

Protected Methods

protected addFieldsFromModel()

protected addFieldsFromModel($inSection = null): void

addFieldsFromModel from the model