October\Rain\Element\Form\FieldsetDefinition

Extends
Implements
  • Illuminate\Contracts\Support\Arrayable
  • ArrayAccess
  • Illuminate\Contracts\Support\Jsonable
  • JsonSerializable
  • IteratorAggregate
  • Traversable

Public Properties

There are no public properties in the class.

Show inherited public properties

Inherited Public Properties

Protected Properties

protected array $fields

fields is a collection of panes fields to these tabs

Show inherited protected properties

Inherited Protected Properties


Public Methods

public addField()

public addField($name, $field): void

addField to the collection of tabs

public getAllFields()

public getAllFields(): array 

getAllFields returns an array of the registered fields, without tabs

public getField()

public getField($field): void

getField object specified

public getFields()

public getFields(): array 

getFields returns an array of the registered fields, includes tabs in format array[tab][field]

public getIterator()

public getIterator(): ArrayIterator 

getIterator gets an iterator for the items

public hasFields()

public hasFields(): bool 

hasFields returns true if any fields have been registered for these tabs

public removeField()

public removeField(string $name): boolean 

removeField from all tabs by name

public sortAllFields()

public sortAllFields(): void

sortAllFields will sort the defined fields by their order attribute

Show inherited public methods

Inherited Public Methods

Protected Methods

protected initDefaultValues()

protected initDefaultValues(): void

initDefaultValues for this scope

Show inherited protected methods

Inherited Protected Methods