SitemapIntervalMultiplier
extends Enum
in package
This is the sitemap interval multiplier enumerate.
Tags
Table of Contents
DAYS | = 'DAYS' | |
---|---|---|
HOURS | = 'HOURS' | |
WEEKS | = 'WEEKS' | |
getMultiplier() | Returns the numeric value for the given key value of the enumerate. | : int|null |
getValues() | : array<string|int, mixed> | |
isValid() | Check if the given value is inside the called enumerate. | : bool |
Constants
DAYS
public
mixed
DAYS
= 'DAYS'
HOURS
public
mixed
HOURS
= 'HOURS'
WEEKS
public
mixed
WEEKS
= 'WEEKS'
Methods
getMultiplier()
Returns the numeric value for the given key value of the enumerate.
public
static getMultiplier(string $enumValue) : int|null
Parameters
- $enumValue : string
Return values
int|null —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