• JsonSerializable
  • Illuminate\Contracts\Support\Jsonable
  • ArrayAccess
  • Illuminate\Contracts\Support\Arrayable

Public Properties

There are no public properties in the class.

Show inherited public properties

Inherited Public Properties

Protected Properties

protected callable $optionsCallback

Show inherited protected properties

Inherited Protected Properties

Public Methods

public displayAs()

public displayAs($type): October\Rain\Element\Form\FieldDefinition 

displayAs type for this field

public hasOptions()

public hasOptions(): bool 

hasOptions returns true if options have been specified

public matchesContext()

public matchesContext($context): bool 

matchesContext returns true if the field matches the supplied context

public options()

public options($value = null): array|self 

options get/set for dropdowns, radio lists and checkbox lists

public span()

public span(
    $value = 'full',
    $spanClass = ''
): October\Rain\Element\Form\FieldDefinition 

span sets a side of the field on a form

public useConfig()

public useConfig($config): October\Rain\Element\ElementBase 

Show inherited public methods

Inherited Public Methods

Protected Methods

protected initDefaultValues()

protected initDefaultValues(): void

initDefaultValues for this field

Show inherited protected methods

Inherited Protected Methods