Field
implements
Item, Arrayable, JsonSerializable
Table of Contents
Interfaces
- Item
- Arrayable
- JsonSerializable
Properties
-
$companyId
: int
-
$entityType
: FieldEntityType
-
$field
: string
-
$id
: int|null
-
$title
: string
-
$ttl
: int
-
$type
: FieldType
Methods
-
__construct()
: mixed
-
jsonSerialize()
: array<string|int, mixed>
-
toArray()
: array<string|int, mixed>
$companyId
public
int
$companyId
$entityType
public
FieldEntityType
$entityType
$field
public
string
$field
$id
public
int|null
$id
= null
$title
public
string
$title
$ttl
public
int
$ttl
$type
public
FieldType
$type
__construct()
public
__construct(int $companyId, string $field, string $title, FieldType $type, FieldEntityType $entityType, int $ttl[, int|null $id = null ]) : mixed
Parameters
-
$companyId
: int
-
-
$field
: string
-
-
$title
: string
-
-
$type
: FieldType
-
-
$entityType
: FieldEntityType
-
-
$ttl
: int
-
-
$id
: int|null
= null
-
jsonSerialize()
public
jsonSerialize() : array<string|int, mixed>
Return values
array<string|int, mixed>
toArray()
public
toArray() : array<string|int, mixed>
Return values
array<string|int, mixed>