RelatedItemsType
extends Enum
in package
This is the related items type enumerate.
Tags
Table of Contents
BANNERS | = 'BANNERS' | |
---|---|---|
CATEGORIES | = 'CATEGORIES' | |
NEWS | = 'NEWS' | |
PAGES | = 'PAGES' | |
PRODUCTS | = 'PRODUCTS' | |
getValues() | : array<string|int, mixed> | |
isValid() | Check if the given value is inside the called enumerate. | : bool |
Constants
BANNERS
public
mixed
BANNERS
= 'BANNERS'
CATEGORIES
public
mixed
CATEGORIES
= 'CATEGORIES'
NEWS
public
mixed
NEWS
= 'NEWS'
PAGES
public
mixed
PAGES
= 'PAGES'
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