Backend\Classes\FilterScope

Overview

FilterScope is a translation of the filter scope configuration

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

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 applyScopeMethodToQuery()

public applyScopeMethodToQuery($query): void

public getDefaultScopeValue()

public getDefaultScopeValue(): void

getDefaultScopeValue returns a fully qualified scope default value

public getId()

public getId($suffix = null): void

getId returns a value suitable for the scope id property.

public getOptionsFromModel()

public getOptionsFromModel($model, $scopeOptions): void

getOptionsFromModel looks at the model for defined options.

Show inherited public methods

Inherited Public Methods

Protected Methods

protected getOptionsFromModelAsString()

protected getOptionsFromModelAsString($model, $methodName): void

getOptionsFromModelAsString where options are an explicit method reference

protected objectMethodExists()

protected objectMethodExists(object $object, string $method): bool 

objectMethodExists is an internal helper for method existence checks.

Show inherited protected methods

Inherited Protected Methods