GeoIPMode
extends Enum
in package
This is the GeoIP mode enumerate.
Tags
Table of Contents
DISABLED | = 'DISABLED' | |
---|---|---|
INFORMATIVE | = 'INFORMATIVE' | |
STRICT | = 'STRICT' | |
STRICT_INFORMATIVE | = 'STRICT_INFORMATIVE' | |
getValues() | : array<string|int, mixed> | |
isValid() | Check if the given value is inside the called enumerate. | : bool |
Constants
DISABLED
public
mixed
DISABLED
= 'DISABLED'
INFORMATIVE
public
mixed
INFORMATIVE
= 'INFORMATIVE'
STRICT
public
mixed
STRICT
= 'STRICT'
STRICT_INFORMATIVE
public
mixed
STRICT_INFORMATIVE
= 'STRICT_INFORMATIVE'
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