Field implements Item
Table of Contents
Interfaces
Properties
- $hint : string|null
- $items : ItemCollection|null
- $label : string|null
- $name : string
- $party : int
- $placeholder : string|null
- $required : bool|null
- $subfields : SubFieldCollection|null
- $type : string
Methods
- __construct() : mixed
- createFromFieldItem() : static
Properties
$hint
public
string|null
$hint
= null
$items
public
ItemCollection|null
$items
= null
$label
public
string|null
$label
= null
$name
public
string
$name
$party
public
int
$party
$placeholder
public
string|null
$placeholder
= null
$required
public
bool|null
$required
= null
$subfields
public
SubFieldCollection|null
$subfields
= null
$type
public
string
$type
Methods
__construct()
public
__construct(int $party, string $type, string $name[, string|null $label = null ][, ItemCollection|null $items = null ][, SubFieldCollection|null $subfields = null ]) : mixed
Parameters
- $party : int
- $type : string
- $name : string
- $label : string|null = null
- $items : ItemCollection|null = null
- $subfields : SubFieldCollection|null = null
createFromFieldItem()
public
static createFromFieldItem(Field $field) : static
Parameters
- $field : Field