PurgeType
extends Enum
in package
This is the purge types enumerate.
Tags
Table of Contents
AREAS | = 'areas' | |
---|---|---|
BANNERS | = 'banners' | |
CATEGORIES | = 'categories' | |
FORMS | = 'forms' | |
NEWS | = 'news' | |
PAGES | = 'pages' | |
PHYSICAL_LOCATIONS | = 'physical-locations' | |
PRODUCT_COMMENTS | = 'product-comments' | |
PRODUCTS | = 'products' | |
getValues() | : array<string|int, mixed> | |
isValid() | Check if the given value is inside the called enumerate. | : bool |
Constants
AREAS
public
mixed
AREAS
= 'areas'
BANNERS
public
mixed
BANNERS
= 'banners'
CATEGORIES
public
mixed
CATEGORIES
= 'categories'
FORMS
public
mixed
FORMS
= 'forms'
NEWS
public
mixed
NEWS
= 'news'
PAGES
public
mixed
PAGES
= 'pages'
PHYSICAL_LOCATIONS
public
mixed
PHYSICAL_LOCATIONS
= 'physical-locations'
PRODUCT_COMMENTS
public
mixed
PRODUCT_COMMENTS
= 'product-comments'
PRODUCTS
public
mixed
PRODUCTS
= 'products'
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