WorkspaceRecord extends AbstractRecord
Combined record class
Table of Contents
Properties
- $internalStageFieldNames : array<string|int, mixed>
- $internalStages : array<string|int, mixed>
- $members : array<string|int, mixed>|null
- $owners : array<string|int, mixed>|null
- $record : array<string|int, mixed>
- $stages : array<string|int, StageRecord>|null
Methods
- __construct() : mixed
- __toString() : string
- get() : WorkspaceRecord
- getMembers() : array<string|int, mixed>
- getNextStage() : StageRecord|null
- getOwners() : array<string|int, mixed>
- getPreviousStage() : StageRecord|null
- getStage() : StageRecord|null
- getStages() : array<string|int, StageRecord>
- getTitle() : string
- getUid() : int
- addStage() : mixed
- createInternalStage() : StageRecord
- fetch() : mixed
- getBackendUser() : BackendUserAuthentication
- getLanguageService() : LanguageService
- getStagesService() : StagesService
Properties
$internalStageFieldNames
protected
array<string|int, mixed>
$internalStageFieldNames
= ['notification_defaults', 'notification_preselection', 'allow_notificaton_settings']
$internalStages
protected
array<string|int, mixed>
$internalStages
= [\TYPO3\CMS\Workspaces\Service\StagesService::STAGE_EDIT_ID => ['name' => 'edit', 'label' => 'LLL:EXT:workspaces/Resources/Private/Language/locallang_mod_user_ws.xlf:stage_editing'], \TYPO3\CMS\Workspaces\Service\StagesService::STAGE_PUBLISH_ID => ['name' => 'publish', 'label' => 'LLL:EXT:workspaces/Resources/Private/Language/locallang_mod.xlf:stage_ready_to_publish'], \TYPO3\CMS\Workspaces\Service\StagesService::STAGE_PUBLISH_EXECUTE_ID => ['name' => 'execute', 'label' => 'LLL:EXT:workspaces/Resources/Private/Language/locallang_mod_user_ws.xlf:stage_publish']]
$members
protected
array<string|int, mixed>|null
$members
$owners
protected
array<string|int, mixed>|null
$owners
$record
protected
array<string|int, mixed>
$record
$stages
protected
array<string|int, StageRecord>|null
$stages
Methods
__construct()
public
__construct(array<string|int, mixed> $record) : mixed
Parameters
- $record : array<string|int, mixed>
__toString()
public
__toString() : string
Return values
stringget()
public
static get(int $uid[, array<string|int, mixed>|null $record = null ]) : WorkspaceRecord
Parameters
- $uid : int
- $record : array<string|int, mixed>|null = null
Return values
WorkspaceRecordgetMembers()
public
getMembers() : array<string|int, mixed>
Return values
array<string|int, mixed>getNextStage()
public
getNextStage(int $stageId) : StageRecord|null
Parameters
- $stageId : int
Return values
StageRecord|nullgetOwners()
public
getOwners() : array<string|int, mixed>
Return values
array<string|int, mixed>getPreviousStage()
public
getPreviousStage(int $stageId) : StageRecord|null
Parameters
- $stageId : int
Return values
StageRecord|nullgetStage()
public
getStage(int $stageId) : StageRecord|null
Parameters
- $stageId : int
Return values
StageRecord|nullgetStages()
public
getStages() : array<string|int, StageRecord>
Return values
array<string|int, StageRecord>getTitle()
public
getTitle() : string
Return values
stringgetUid()
public
getUid() : int
Return values
intaddStage()
protected
addStage(StageRecord $stage) : mixed
Parameters
- $stage : StageRecord
createInternalStage()
protected
createInternalStage(int $stageId) : StageRecord
Parameters
- $stageId : int
Tags
Return values
StageRecordfetch()
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