ProductSearchType extends Enum
in package

This is the product search type enumerate.

Tags
see
Enum

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_WITH_SPACES

public mixed COMPLETE_WITH_SPACES = 'COMPLETE_WITH_SPACES'

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

Return values
bool

Search results