Employee
extends AbstractEntity
in package
Tags
Table of Contents
- $additionalInfo : array<string|int, mixed>
- $bio : string
- $contacts : array<string|int, mixed>
- $id : int
- $name : string
- $socialNetworks : array<string|int, mixed>
- __construct() : mixed
- getId() : int
- setupFields() : mixed
Properties
$additionalInfo
public
array<string|int, mixed>
$additionalInfo
= []
Tags
$bio
public
string
$bio
= ''
Tags
$contacts
public
array<string|int, mixed>
$contacts
= []
Tags
$id
public
int
$id
= 0
Tags
$name
public
string
$name
= ''
Tags
$socialNetworks
public
array<string|int, mixed>
$socialNetworks
= []
Tags
Methods
__construct()
public
__construct(int $id[, array<string|int, mixed> $fieldValues = [] ]) : mixed
Parameters
- $id : int
- $fieldValues : array<string|int, mixed> = []
-
Optional.
Tags
Return values
mixed —getId()
public
getId() : int
Tags
Return values
int —setupFields()
protected
setupFields( $fieldValues) : mixed