AssetPosition
extends Enum
in package
This is the asset position enumerate.
Tags
Table of Contents
BODY_BOTTOM | = 'BODY_BOTTOM' | |
---|---|---|
BODY_TOP | = 'BODY_TOP' | |
HEAD_BOTTOM | = 'HEAD_BOTTOM' | |
HEAD_TOP | = 'HEAD_TOP' | |
getValues() | : array<string|int, mixed> | |
isValid() | Check if the given value is inside the called enumerate. | : bool |
Constants
BODY_BOTTOM
public
mixed
BODY_BOTTOM
= 'BODY_BOTTOM'
BODY_TOP
public
mixed
BODY_TOP
= 'BODY_TOP'
HEAD_BOTTOM
public
mixed
HEAD_BOTTOM
= 'HEAD_BOTTOM'
HEAD_TOP
public
mixed
HEAD_TOP
= 'HEAD_TOP'
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