‪TYPO3CMS  11.5
TYPO3\CMS\Workspaces\Domain\Record\StageRecord Class Reference
Inheritance diagram for TYPO3\CMS\Workspaces\Domain\Record\StageRecord:
TYPO3\CMS\Workspaces\Domain\Record\AbstractRecord

Public Member Functions

 __construct (WorkspaceRecord $workspace, array $record)
 
WorkspaceRecord getWorkspace ()
 
StageRecord null getPrevious ()
 
StageRecord null getNext ()
 
int determineOrder (StageRecord $stageRecord)
 
bool isPreviousTo (StageRecord $stageRecord)
 
bool isNextTo (StageRecord $stageRecord)
 
string getDefaultComment ()
 
 setInternal ($internal=true)
 
bool isInternal ()
 
bool isEditStage ()
 
bool isPublishStage ()
 
bool isExecuteStage ()
 
bool isDialogEnabled ()
 
bool isPreselectionChangeable ()
 
bool areOwnersPreselected ()
 
bool areMembersPreselected ()
 
bool areEditorsPreselected ()
 
bool areResponsiblePersonsPreselected ()
 
bool hasDefaultRecipients ()
 
bool hasPreselection ()
 
array getResponsiblePersons ()
 
array getDefaultRecipients ()
 
array getAllRecipients ()
 
int[] getPreselectedRecipients ()
 
bool isAllowed ()
 
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Workspaces\Domain\Record\AbstractRecord
 __construct (array $record)
 
string __toString ()
 
int getUid ()
 
string getTitle ()
 

Static Public Member Functions

static StageRecord null get ($uid, ?array $record=null)
 
static StageRecord build (WorkspaceRecord $workspace, $uid, ?array $record=null)
 

Protected Attributes

WorkspaceRecord $workspace
 
bool $internal = false
 
array null $responsiblePersons
 
array null $defaultRecipients
 
array null $preselectedRecipients
 
array null $allRecipients
 
- ‪Protected Attributes inherited from ‪TYPO3\CMS\Workspaces\Domain\Record\AbstractRecord
array $record
 

Additional Inherited Members

- ‪Protected Member Functions inherited from ‪TYPO3\CMS\Workspaces\Domain\Record\AbstractRecord
StagesService getStagesService ()
 
- ‪Static Protected Member Functions inherited from ‪TYPO3\CMS\Workspaces\Domain\Record\AbstractRecord
static fetch ($tableName, $uid)
 
static TYPO3 CMS Core Authentication BackendUserAuthentication getBackendUser ()
 
static TYPO3 CMS Core Localization LanguageService getLanguageService ()
 

Detailed Description

Combined record class

Definition at line 23 of file StageRecord.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Workspaces\Domain\Record\StageRecord::__construct ( WorkspaceRecord  $workspace,
array  $record 
)

Member Function Documentation

◆ areEditorsPreselected()

bool TYPO3\CMS\Workspaces\Domain\Record\StageRecord::areEditorsPreselected ( )

◆ areMembersPreselected()

bool TYPO3\CMS\Workspaces\Domain\Record\StageRecord::areMembersPreselected ( )

◆ areOwnersPreselected()

bool TYPO3\CMS\Workspaces\Domain\Record\StageRecord::areOwnersPreselected ( )

◆ areResponsiblePersonsPreselected()

bool TYPO3\CMS\Workspaces\Domain\Record\StageRecord::areResponsiblePersonsPreselected ( )

◆ build()

static StageRecord TYPO3\CMS\Workspaces\Domain\Record\StageRecord::build ( WorkspaceRecord  $workspace,
  $uid,
?array  $record = null 
)
static

◆ determineOrder()

int TYPO3\CMS\Workspaces\Domain\Record\StageRecord::determineOrder ( StageRecord  $stageRecord)

◆ get()

static StageRecord null TYPO3\CMS\Workspaces\Domain\Record\StageRecord::get (   $uid,
?array  $record = null 
)
static

◆ getAllRecipients()

◆ getDefaultComment()

string TYPO3\CMS\Workspaces\Domain\Record\StageRecord::getDefaultComment ( )
Returns
‪string

Definition at line 167 of file StageRecord.php.

◆ getDefaultRecipients()

◆ getNext()

◆ getPreselectedRecipients()

◆ getPrevious()

◆ getResponsiblePersons()

◆ getWorkspace()

◆ hasDefaultRecipients()

bool TYPO3\CMS\Workspaces\Domain\Record\StageRecord::hasDefaultRecipients ( )
Returns
‪bool

Definition at line 267 of file StageRecord.php.

Referenced by TYPO3\CMS\Workspaces\Domain\Record\StageRecord\hasPreselection().

◆ hasPreselection()

◆ isAllowed()

bool TYPO3\CMS\Workspaces\Domain\Record\StageRecord::isAllowed ( )

◆ isDialogEnabled()

bool TYPO3\CMS\Workspaces\Domain\Record\StageRecord::isDialogEnabled ( )
Returns
‪bool

Definition at line 219 of file StageRecord.php.

◆ isEditStage()

◆ isExecuteStage()

◆ isInternal()

bool TYPO3\CMS\Workspaces\Domain\Record\StageRecord::isInternal ( )

◆ isNextTo()

bool TYPO3\CMS\Workspaces\Domain\Record\StageRecord::isNextTo ( StageRecord  $stageRecord)

Determines whether $this is in a later stage compared to $stageRecord.

Parameters
StageRecord$stageRecord
Returns
‪bool

Definition at line 152 of file StageRecord.php.

References TYPO3\CMS\Workspaces\Domain\Record\AbstractRecord\getUid().

◆ isPreselectionChangeable()

bool TYPO3\CMS\Workspaces\Domain\Record\StageRecord::isPreselectionChangeable ( )
Returns
‪bool

Definition at line 227 of file StageRecord.php.

◆ isPreviousTo()

bool TYPO3\CMS\Workspaces\Domain\Record\StageRecord::isPreviousTo ( StageRecord  $stageRecord)

Determines whether $this is in a previous stage compared to $stageRecord.

Parameters
StageRecord$stageRecord
Returns
‪bool

Definition at line 134 of file StageRecord.php.

References TYPO3\CMS\Workspaces\Domain\Record\AbstractRecord\getUid().

◆ isPublishStage()

bool TYPO3\CMS\Workspaces\Domain\Record\StageRecord::isPublishStage ( )

◆ setInternal()

TYPO3\CMS\Workspaces\Domain\Record\StageRecord::setInternal (   $internal = true)
Parameters
bool$internal

Definition at line 179 of file StageRecord.php.

References TYPO3\CMS\Workspaces\Domain\Record\StageRecord\$internal.

Member Data Documentation

◆ $allRecipients

array null TYPO3\CMS\Workspaces\Domain\Record\StageRecord::$allRecipients
protected

◆ $defaultRecipients

array null TYPO3\CMS\Workspaces\Domain\Record\StageRecord::$defaultRecipients
protected

◆ $internal

bool TYPO3\CMS\Workspaces\Domain\Record\StageRecord::$internal = false
protected

◆ $preselectedRecipients

array null TYPO3\CMS\Workspaces\Domain\Record\StageRecord::$preselectedRecipients
protected

◆ $responsiblePersons

array null TYPO3\CMS\Workspaces\Domain\Record\StageRecord::$responsiblePersons
protected

◆ $workspace