EntityContext

class \TYPO3\CMS\Core\DataHandling\Model\EntityContext

Represents the context of an entity

A context defines a "variant" of an entity, currently by its language and workspace assignment. The EntityContext is bound to a RecordState.

Table of Contents

Properties

$languageId  : int
$workspaceId  : int

Methods

getLanguageId()  : int
getWorkspaceId()  : int
withLanguageId()  : static
withWorkspaceId()  : static

Properties

$languageId

protected int $languageId = \TYPO3\CMS\Core\Schema\LanguageMarker::DEFAULT_LANGUAGE

$workspaceId

protected int $workspaceId = 0

Methods

getLanguageId()

public getLanguageId() : int

Return values

int

getWorkspaceId()

public getWorkspaceId() : int

Return values

int

withLanguageId()

public withLanguageId(int $languageId) : static

Parameters

$languageId : int

Return values

static

withWorkspaceId()

public withWorkspaceId(int $workspaceId) : static

Parameters

$workspaceId : int

Return values

static
On this page