FormField
extends Element
in package
Uses
ElementTrait
This is the 'FormItem' class, a DTO class for the theme configuration data.
The items stored in this class will remain immutable (only get methods are available).
This class extends SDK\Core\Dtos\Element, see this class.
Tags
Table of Contents
INCLUDED | = 'included' | |
---|---|---|
PRIORITY | = 'priority' | |
REGEX | = 'regex' | |
REQUIRED | = 'required' | |
$included | : bool | |
$priority | : int | |
$regex | : string | |
$required | : bool | |
getIncluded() | This method returns if the field is included. | : bool |
getPriority() | This method returns the field priority. | : int |
getRegex() | This method returns the field regex. | : string |
getRequired() | This method returns if the field is required. | : bool |
Constants
INCLUDED
public
mixed
INCLUDED
= 'included'
PRIORITY
public
mixed
PRIORITY
= 'priority'
REGEX
public
mixed
REGEX
= 'regex'
REQUIRED
public
mixed
REQUIRED
= 'required'
Properties
$included
protected
bool
$included
= false
$priority
protected
int
$priority
= 0
$regex
protected
string
$regex
= ''
$required
protected
bool
$required
= false
Methods
getIncluded()
This method returns if the field is included.
public
getIncluded() : bool
Return values
bool —getPriority()
This method returns the field priority.
public
getPriority() : int
Return values
int —getRegex()
This method returns the field regex.
public
getRegex() : string
Return values
string —getRequired()
This method returns if the field is required.
public
getRequired() : bool