FormType
extends Enum
in package
This is the form type enumerate.
Tags
Table of Contents
ADDRESS | = 'ADDRESS' | |
---|---|---|
CONTACT | = 'CONTACT' | |
END_ORDER | = 'END_ORDER' | |
SET_USER | = 'SET_USER' | |
UPDATE_USER | = 'UPDATE_USER' | |
getValues() | : array<string|int, mixed> | |
isValid() | Check if the given value is inside the called enumerate. | : bool |
Constants
ADDRESS
public
mixed
ADDRESS
= 'ADDRESS'
CONTACT
public
mixed
CONTACT
= 'CONTACT'
END_ORDER
public
mixed
END_ORDER
= 'END_ORDER'
SET_USER
public
mixed
SET_USER
= 'SET_USER'
UPDATE_USER
public
mixed
UPDATE_USER
= 'UPDATE_USER'
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