ProductSearchType
extends Enum
in package
This is the product search type enumerate.
Tags
Table of Contents
COMPLETE | = 'COMPLETE' | |
---|---|---|
COMPLETE_WITH_SPACES | = 'COMPLETE_WITH_SPACES' | |
PARTIAL | = 'PARTIAL' | |
SHOULD_APPEAR_PARTIAL | = 'SHOULD_APPEAR_PARTIAL' | |
getValues() | : array<string|int, mixed> | |
isValid() | Check if the given value is inside the called enumerate. | : bool |
Constants
COMPLETE
public
mixed
COMPLETE
= 'COMPLETE'
COMPLETE_WITH_SPACES
public
mixed
COMPLETE_WITH_SPACES
= 'COMPLETE_WITH_SPACES'
PARTIAL
public
mixed
PARTIAL
= 'PARTIAL'
SHOULD_APPEAR_PARTIAL
public
mixed
SHOULD_APPEAR_PARTIAL
= 'SHOULD_APPEAR_PARTIAL'
Methods
getValues()
public
static getValues() : array<string|int, mixed>
Return values
array<string|int, mixed> —isValid()
Check if the given value is inside the called enumerate.
public
static isValid(string $value) : bool
Parameters
- $value : string
-
value to check