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

Public Member Functions

array getOwners ()
 
array getMembers ()
 
StageRecord[] getStages ()
 
StageRecord null getStage ($stageId)
 
StageRecord null getPreviousStage ($stageId)
 
StageRecord null getNextStage ($stageId)
 
- ‪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 WorkspaceRecord get ($uid, ?array $record=null)
 

Protected Member Functions

 addStage (StageRecord $stage)
 
StageRecord createInternalStage ($stageId)
 
- ‪Protected Member Functions inherited from ‪TYPO3\CMS\Workspaces\Domain\Record\AbstractRecord
StagesService getStagesService ()
 

Protected Attributes

array $internalStages
 
array $internalStageFieldNames
 
array null $owners
 
array null $members
 
StageRecord[] null $stages
 
- ‪Protected Attributes inherited from ‪TYPO3\CMS\Workspaces\Domain\Record\AbstractRecord
array $record
 

Additional Inherited Members

- ‪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 26 of file WorkspaceRecord.php.

Member Function Documentation

◆ addStage()

TYPO3\CMS\Workspaces\Domain\Record\WorkspaceRecord::addStage ( StageRecord  $stage)
protected

◆ createInternalStage()

StageRecord TYPO3\CMS\Workspaces\Domain\Record\WorkspaceRecord::createInternalStage (   $stageId)
protected

◆ get()

◆ getMembers()

◆ getNextStage()

StageRecord null TYPO3\CMS\Workspaces\Domain\Record\WorkspaceRecord::getNextStage (   $stageId)
Parameters
int$stageId
Returns
‪StageRecord|null

Definition at line 179 of file WorkspaceRecord.php.

References TYPO3\CMS\Workspaces\Domain\Record\WorkspaceRecord\getStages().

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

◆ getOwners()

◆ getPreviousStage()

StageRecord null TYPO3\CMS\Workspaces\Domain\Record\WorkspaceRecord::getPreviousStage (   $stageId)
Parameters
int$stageId
Returns
‪StageRecord|null

Definition at line 160 of file WorkspaceRecord.php.

References TYPO3\CMS\Workspaces\Domain\Record\WorkspaceRecord\getStages().

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

◆ getStage()

◆ getStages()

Member Data Documentation

◆ $internalStageFieldNames

array TYPO3\CMS\Workspaces\Domain\Record\WorkspaceRecord::$internalStageFieldNames
protected
Initial value:
= array(
'notification_defaults',
'notification_preselection',
'allow_notificaton_settings',
)

Definition at line 47 of file WorkspaceRecord.php.

◆ $internalStages

array TYPO3\CMS\Workspaces\Domain\Record\WorkspaceRecord::$internalStages
protected
Initial value:
= array(
'name' => 'edit',
'label' => 'LLL:EXT:workspaces/Resources/Private/Language/locallang_mod_user_ws.xlf:stage_editing',
],
'name' => 'publish',
'label' => 'LLL:EXT:workspaces/Resources/Private/Language/locallang_mod.xlf:stage_ready_to_publish',
],
'name' => 'execute',
'label' => 'LLL:EXT:workspaces/Resources/Private/Language/locallang_mod_user_ws.xlf:stage_publish',
],
)

Definition at line 30 of file WorkspaceRecord.php.

◆ $members

array null TYPO3\CMS\Workspaces\Domain\Record\WorkspaceRecord::$members
protected

◆ $owners

array null TYPO3\CMS\Workspaces\Domain\Record\WorkspaceRecord::$owners
protected

◆ $stages

StageRecord [] null TYPO3\CMS\Workspaces\Domain\Record\WorkspaceRecord::$stages
protected
‪TYPO3\CMS\Workspaces\Service\StagesService\STAGE_PUBLISH_EXECUTE_ID
‪const STAGE_PUBLISH_EXECUTE_ID
Definition: StagesService.php:35
‪TYPO3\CMS\Workspaces\Service\StagesService\STAGE_PUBLISH_ID
‪const STAGE_PUBLISH_ID
Definition: StagesService.php:37
‪TYPO3\CMS\Workspaces\Service\StagesService\STAGE_EDIT_ID
‪const STAGE_EDIT_ID
Definition: StagesService.php:38