NewsletterSubscriptionStatus
extends Enum
in package
This is the Newsletter Subscription Status enumerate.
Tags
Table of Contents
| ERROR | = 'ERROR' | |
|---|---|---|
| SUBSCRIBED | = 'SUBSCRIBED' | |
| UNSUBSCRIBED | = 'UNSUBSCRIBED' | |
| getValues() | : array<string|int, mixed> | |
| isValid() | Check if the given value is inside the called enumerate. | : bool |
Constants
ERROR
public
mixed
ERROR
= 'ERROR'
SUBSCRIBED
public
mixed
SUBSCRIBED
= 'SUBSCRIBED'
UNSUBSCRIBED
public
mixed
UNSUBSCRIBED
= 'UNSUBSCRIBED'
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