Block implements Item
Table of Contents
Interfaces
Properties
- $fieldNames : array<int, string>
- $party : int
- $position : BlockPosition
- $style : BlockStyle|null
- $type : string
Methods
- __construct() : mixed
- addFieldNames() : Block
- getFieldNames() : array<string|int, mixed>
Properties
$fieldNames
public
array<int, string>
$fieldNames
= []
$party
public
int
$party
$position
public
BlockPosition
$position
$style
public
BlockStyle|null
$style
= null
$type
public
string
$type
Methods
__construct()
public
__construct(int $party, string $type, BlockPosition $blockPosition) : mixed
Parameters
- $party : int
- $type : string
- $blockPosition : BlockPosition
addFieldNames()
public
addFieldNames(string ...$fieldName) : Block
Parameters
- $fieldName : string
Return values
BlockgetFieldNames()
public
getFieldNames() : array<string|int, mixed>