SearchScope
in package
FinalYes
Enumeration of search scopes for booths and items.
Table of Contents
Constants
- BOOTHS_AND_ITEMS = 'booths_and_items'
- BOOTHS_ONLY = 'booths_only'
- ITEMS_ONLY = 'items_only'
Methods
- isValid() : bool
- Validate the given scope string.
Constants
BOOTHS_AND_ITEMS
public
mixed
BOOTHS_AND_ITEMS
= 'booths_and_items'
BOOTHS_ONLY
public
mixed
BOOTHS_ONLY
= 'booths_only'
ITEMS_ONLY
public
mixed
ITEMS_ONLY
= 'items_only'
Methods
isValid()
Validate the given scope string.
public
static isValid(string $scope) : bool
Parameters
- $scope : string