BackorderMode extends Enum
in package

This is the backorder mode enumerate.

Tags
see
Enum

Table of Contents

NONE  = 'NONE'
WITH_AND_WITHOUT_PREVISION  = 'WITH_AND_WITHOUT_PREVISION'
WITH_PREVISION  = 'WITH_PREVISION'
WITHOUT_PREVISION  = 'WITHOUT_PREVISION'
getValues()  : array<string|int, mixed>
isValid() Check if the given value is inside the called enumerate.  : bool

Constants

WITH_AND_WITHOUT_PREVISION

public mixed WITH_AND_WITHOUT_PREVISION = 'WITH_AND_WITHOUT_PREVISION'

WITH_PREVISION

public mixed WITH_PREVISION = 'WITH_PREVISION'

WITHOUT_PREVISION

public mixed WITHOUT_PREVISION = 'WITHOUT_PREVISION'

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