WorkspaceRecord extends AbstractRecord

Combined record class

Internal

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()  : void
createInternalStage()  : StageRecord
fetch()  : array<string|int, 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.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.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

Methods

__construct()

public __construct(array<string|int, mixed> $record) : mixed
Parameters
$record : array<string|int, mixed>

__toString()

public __toString() : string
Return values
string

get()

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
WorkspaceRecord

getMembers()

public getMembers() : array<string|int, mixed>
Return values
array<string|int, mixed>

getOwners()

public getOwners() : array<string|int, mixed>
Return values
array<string|int, mixed>

getTitle()

public getTitle() : string
Return values
string

getUid()

public getUid() : int
Return values
int

fetch()

protected static fetch(string $tableName, int $uid) : array<string|int, mixed>
Parameters
$tableName : string
$uid : int
Return values
array<string|int, mixed>

        
On this page

Search results