October\Rain\Element\Filter\ScopeDefinition

Extends
Implements
  • 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

There are no protected properties in the class.

Show inherited protected properties

Inherited Protected Properties


Public Methods

public displayAs()

public displayAs($type): October\Rain\Element\Filter\ScopeDefinition 

displayAs type for this scope. Supported modes are:

  • group - filter by a group of IDs. Default.
  • checkbox - filter by a simple toggle switch.

public hasOptions()

public hasOptions(): bool 

hasOptions returns true if options have been specified

public options()

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

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

public setScopeValue()

public setScopeValue($value): void

setScopeValue and merge the values as config

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 scope

Show inherited protected methods

Inherited Protected Methods