FieldInterface
in
Field interface
Table of Contents
Constants
- BOOLEAN_TYPE = 'bool'
- CUSTOM = 'custom'
- DATE = 'date'
- EMAIL = 'email'
- IMAGE = 'image'
- LIST = 'list'
- NUMBER = 'number'
- PASSWORD = 'password'
- PHP_CLASS = 'php.class'
- TEXT = 'text'
- TEXT_AREA = 'text.area'
- TYPES_LIST = [Self::TEXT, Self::NUMBER, Self::CUSTOM, Self::BOOLEAN_TYPE, Self::LIST, Self::PHP_CLASS, Self::PASSWORD, Self::URL, Self::EMAIL, Self::TEXT_AREA, Self::DATE, Self::IMAGE]
- Field type list
- URL = 'url'
Methods
- getName() : string
- Get field name
- getTitle() : string|null
- Get field title
- getType() : string
- Get field type
- getValue() : mixed
- Get field value
- setValue() : void
- Set field value
Constants
BOOLEAN_TYPE
public
mixed
BOOLEAN_TYPE
= 'bool'
CUSTOM
public
mixed
CUSTOM
= 'custom'
DATE
public
mixed
DATE
= 'date'
public
mixed
EMAIL
= 'email'
IMAGE
public
mixed
IMAGE
= 'image'
LIST
public
mixed
LIST
= 'list'
NUMBER
public
mixed
NUMBER
= 'number'
PASSWORD
public
mixed
PASSWORD
= 'password'
PHP_CLASS
public
mixed
PHP_CLASS
= 'php.class'
TEXT
public
mixed
TEXT
= 'text'
TEXT_AREA
public
mixed
TEXT_AREA
= 'text.area'
TYPES_LIST
Field type list
public
mixed
TYPES_LIST
= [Self::TEXT, Self::NUMBER, Self::CUSTOM, Self::BOOLEAN_TYPE, Self::LIST, Self::PHP_CLASS, Self::PASSWORD, Self::URL, Self::EMAIL, Self::TEXT_AREA, Self::DATE, Self::IMAGE]
URL
public
mixed
URL
= 'url'
Methods
getName()
Get field name
public
getName() : string
Return values
stringgetTitle()
Get field title
public
getTitle() : string|null
Return values
string|nullgetType()
Get field type
public
getType() : string
Return values
stringgetValue()
Get field value
public
getValue() : mixed
setValue()
Set field value
public
setValue(mixed $value) : void
Parameters
- $value : mixed