ProjectTeam
extends BaseModel
in package
Table of Contents
Properties
- $hasAccessToAllWorkflowSteps : bool
- $hasDeveloperAccess : bool
- $hasManagerAccess : bool
- $id : int
- $name : string
- $permissions : array<string|int, mixed>
- $roles : array<string|int, mixed>
Methods
- __construct() : mixed
- getHasAccessToAllWorkflowSteps() : bool
- getHasDeveloperAccess() : bool
- getHasManagerAccess() : bool
- getId() : int
- getName() : string
- getPermissions() : array<string|int, mixed>
- getRoles() : array<string|int, mixed>
- setHasAccessToAllWorkflowSteps() : void
- setHasManagerAccess() : void
- setId() : void
- setPermissions() : void
Properties
$hasAccessToAllWorkflowSteps
protected
bool
$hasAccessToAllWorkflowSteps
= false
$hasDeveloperAccess
protected
bool
$hasDeveloperAccess
= false
$hasManagerAccess
protected
bool
$hasManagerAccess
= false
$id
protected
int
$id
$name
protected
string
$name
$permissions
protected
array<string|int, mixed>
$permissions
$roles
protected
array<string|int, mixed>
$roles
Methods
__construct()
public
__construct([array<string|int, mixed> $data = [] ]) : mixed
Parameters
- $data : array<string|int, mixed> = []
getHasAccessToAllWorkflowSteps()
public
getHasAccessToAllWorkflowSteps() : bool
Return values
boolgetHasDeveloperAccess()
public
getHasDeveloperAccess() : bool
Return values
boolgetHasManagerAccess()
public
getHasManagerAccess() : bool
Return values
boolgetId()
public
getId() : int
Return values
intgetName()
public
getName() : string
Return values
stringgetPermissions()
public
getPermissions() : array<string|int, mixed>
Return values
array<string|int, mixed>getRoles()
public
getRoles() : array<string|int, mixed>
Return values
array<string|int, mixed> —List of roles: name and permissions (allLanguages, languagesAccess)
setHasAccessToAllWorkflowSteps()
public
setHasAccessToAllWorkflowSteps(bool $hasAccessToAllWorkflowSteps) : void
Parameters
- $hasAccessToAllWorkflowSteps : bool
setHasManagerAccess()
public
setHasManagerAccess(bool $hasManagerAccess) : void
Parameters
- $hasManagerAccess : bool
setId()
public
setId(int $id) : void
Parameters
- $id : int
setPermissions()
public
setPermissions(array<string|int, mixed> $permissions) : void
Parameters
- $permissions : array<string|int, mixed>