Member
extends Person
in package
Team member element
Tags
Table of Contents
Properties
- $directory : mixed
Methods
- __construct() : mixed
- Construct an element with an associated directory
- metadata() : mixed
- Return the metadata of the element
- metadata_fields() : array<string|int, mixed>
- Return the metadata fields of the team member.
Properties
$directory
public
static mixed
$directory
Methods
__construct()
Construct an element with an associated directory
public
__construct(string $directory) : mixed
Parameters
- $directory : string
-
the path to the associated directory.
Tags
metadata()
Return the metadata of the element
public
metadata() : mixed
Every team member metadata parse metadata like Person plus:
-
join_date
values in the metadata are parsed as timestamps.
Tags
Return values
mixed —The loaded json metadata file in appropriate PHP type.
metadata_fields()
Return the metadata fields of the team member.
public
metadata_fields() : array<string|int, mixed>
Every team member metadata inherit all the metadata of the Person
plus:
-
roles
: roles of the member in the team -
join_date
: timestamp on when the member joined the team
Tags
Return values
array<string|int, mixed> —Names of the metadata fields of the element.