StageRecord extends AbstractRecord
Combined record class
Table of Contents
Properties
- $allRecipients : array<string|int, mixed>|null
- $defaultRecipients : array<string|int, mixed>|null
- $internal : bool
- $preselectedRecipients : array<string|int, mixed>|null
- $record : array<string|int, mixed>
- $responsiblePersons : array<string|int, mixed>|null
- $workspace : WorkspaceRecord
Methods
- __construct() : mixed
- __toString() : string
- areEditorsPreselected() : bool
- areMembersPreselected() : bool
- areOwnersPreselected() : bool
- areResponsiblePersonsPreselected() : bool
- build() : StageRecord
- determineOrder() : int
- get() : StageRecord|null
- getAllRecipients() : array<string|int, mixed>
- Gets all recipients (backend user ids).
- getDefaultComment() : string
- getDefaultRecipients() : array<string|int, mixed>
- getNext() : StageRecord|null
- getPreselectedRecipients() : array<string|int, int>
- getPrevious() : StageRecord|null
- getResponsiblePersons() : array<string|int, mixed>
- getTitle() : string
- getUid() : int
- getWorkspace() : WorkspaceRecord
- hasDefaultRecipients() : bool
- hasPreselection() : bool
- isAllowed() : bool
- isDialogEnabled() : bool
- isEditStage() : bool
- isExecuteStage() : bool
- isInternal() : bool
- isNextTo() : bool
- Determines whether $this is in a later stage compared to $stageRecord.
- isPreselectionChangeable() : bool
- isPreviousTo() : bool
- Determines whether $this is in a previous stage compared to $stageRecord.
- isPublishStage() : bool
- setInternal() : mixed
- fetch() : mixed
- getBackendUser() : BackendUserAuthentication
- getLanguageService() : LanguageService
- getStagesService() : StagesService
Properties
$allRecipients
protected
array<string|int, mixed>|null
$allRecipients
$defaultRecipients
protected
array<string|int, mixed>|null
$defaultRecipients
$internal
protected
bool
$internal
= false
$preselectedRecipients
protected
array<string|int, mixed>|null
$preselectedRecipients
$record
protected
array<string|int, mixed>
$record
$responsiblePersons
protected
array<string|int, mixed>|null
$responsiblePersons
$workspace
protected
WorkspaceRecord
$workspace
Methods
__construct()
public
__construct(WorkspaceRecord $workspace, array<string|int, mixed> $record) : mixed
Parameters
- $workspace : WorkspaceRecord
- $record : array<string|int, mixed>
__toString()
public
__toString() : string
Return values
stringareEditorsPreselected()
public
areEditorsPreselected() : bool
Return values
boolareMembersPreselected()
public
areMembersPreselected() : bool
Return values
boolareOwnersPreselected()
public
areOwnersPreselected() : bool
Return values
boolareResponsiblePersonsPreselected()
public
areResponsiblePersonsPreselected() : bool
Return values
boolbuild()
public
static build(WorkspaceRecord $workspace, int $uid[, array<string|int, mixed>|null $record = null ]) : StageRecord
Parameters
- $workspace : WorkspaceRecord
- $uid : int
- $record : array<string|int, mixed>|null = null
Return values
StageRecorddetermineOrder()
public
determineOrder(StageRecord $stageRecord) : int
Parameters
- $stageRecord : StageRecord
Return values
intget()
public
static get(int $uid[, array<string|int, mixed>|null $record = null ]) : StageRecord|null
Parameters
- $uid : int
- $record : array<string|int, mixed>|null = null
Return values
StageRecord|nullgetAllRecipients()
Gets all recipients (backend user ids).
public
getAllRecipients() : array<string|int, mixed>
Return values
array<string|int, mixed>getDefaultComment()
public
getDefaultComment() : string
Return values
stringgetDefaultRecipients()
public
getDefaultRecipients() : array<string|int, mixed>
Return values
array<string|int, mixed>getNext()
public
getNext() : StageRecord|null
Return values
StageRecord|nullgetPreselectedRecipients()
public
getPreselectedRecipients() : array<string|int, int>
Return values
array<string|int, int>getPrevious()
public
getPrevious() : StageRecord|null
Return values
StageRecord|nullgetResponsiblePersons()
public
getResponsiblePersons() : array<string|int, mixed>
Return values
array<string|int, mixed>getTitle()
public
getTitle() : string
Return values
stringgetUid()
public
getUid() : int
Return values
intgetWorkspace()
public
getWorkspace() : WorkspaceRecord
Return values
WorkspaceRecordhasDefaultRecipients()
public
hasDefaultRecipients() : bool
Return values
boolhasPreselection()
public
hasPreselection() : bool
Return values
boolisAllowed()
public
isAllowed() : bool
Return values
boolisDialogEnabled()
public
isDialogEnabled() : bool
Return values
boolisEditStage()
public
isEditStage() : bool
Return values
boolisExecuteStage()
public
isExecuteStage() : bool
Return values
boolisInternal()
public
isInternal() : bool
Return values
boolisNextTo()
Determines whether $this is in a later stage compared to $stageRecord.
public
isNextTo(StageRecord $stageRecord) : bool
Parameters
- $stageRecord : StageRecord
Return values
boolisPreselectionChangeable()
public
isPreselectionChangeable() : bool
Return values
boolisPreviousTo()
Determines whether $this is in a previous stage compared to $stageRecord.
public
isPreviousTo(StageRecord $stageRecord) : bool
Parameters
- $stageRecord : StageRecord
Return values
boolisPublishStage()
public
isPublishStage() : bool
Return values
boolsetInternal()
public
setInternal([bool $internal = true ]) : mixed
Parameters
- $internal : bool = true
fetch()
protected
static fetch(mixed $tableName, mixed $uid) : mixed
Parameters
- $tableName : mixed
- $uid : mixed
getBackendUser()
protected
static getBackendUser() : BackendUserAuthentication
Return values
BackendUserAuthenticationgetLanguageService()
protected
static getLanguageService() : LanguageService
Return values
LanguageServicegetStagesService()
protected
getStagesService() : StagesService