PurgeType extends Enum
in package

This is the purge types enumerate.

Tags
see
Enum

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

CATEGORIES

public mixed CATEGORIES = 'categories'

PHYSICAL_LOCATIONS

public mixed PHYSICAL_LOCATIONS = 'physical-locations'

PRODUCT_COMMENTS

public mixed PRODUCT_COMMENTS = 'product-comments'

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