RecordHistoryStore

Used to save any history to a record

Internal

should only be used by the TYPO3 Core

Table of Contents

Constants

ACTION_ADD  = 1
ACTION_DELETE  = 4
ACTION_MODIFY  = 2
ACTION_MOVE  = 3
ACTION_STAGECHANGE  = 6
ACTION_UNDELETE  = 5
USER_ANONYMOUS  = ''
USER_BACKEND  = 'BE'
USER_FRONTEND  = 'FE'

Properties

$originalUserId  : int|null
$tstamp  : int|null
$userId  : int|null
$userType  : string
$workspaceId  : int

Methods

__construct()  : mixed
addRecord()  : string
changeStageForRecord()  : string
deleteRecord()  : string
modifyRecord()  : string
moveRecord()  : string
undeleteRecord()  : string
createCorrelationId()  : CorrelationId
getDatabaseConnection()  : Connection

Constants

ACTION_DELETE

public mixed ACTION_DELETE = 4

ACTION_MODIFY

public mixed ACTION_MODIFY = 2

ACTION_STAGECHANGE

public mixed ACTION_STAGECHANGE = 6

ACTION_UNDELETE

public mixed ACTION_UNDELETE = 5

USER_ANONYMOUS

public mixed USER_ANONYMOUS = ''

USER_BACKEND

public mixed USER_BACKEND = 'BE'

USER_FRONTEND

public mixed USER_FRONTEND = 'FE'

Properties

$originalUserId

protected int|null $originalUserId

Methods

__construct()

public __construct([string $userType = self::USER_BACKEND ][, int|null $userId = null ][, int|null $originalUserId = null ][, int|null $tstamp = null ][, int $workspaceId = 0 ]) : mixed
Parameters
$userType : string = self::USER_BACKEND
$userId : int|null = null
$originalUserId : int|null = null
$tstamp : int|null = null
$workspaceId : int = 0

addRecord()

public addRecord(string $table, int $uid, array<string|int, mixed> $payload[, CorrelationId|null $correlationId = null ]) : string
Parameters
$table : string
$uid : int
$payload : array<string|int, mixed>
$correlationId : CorrelationId|null = null
Return values
string

changeStageForRecord()

public changeStageForRecord(string $table, int $uid, array<string|int, mixed> $payload[, CorrelationId|null $correlationId = null ]) : string
Parameters
$table : string
$uid : int
$payload : array<string|int, mixed>
$correlationId : CorrelationId|null = null
Return values
string

deleteRecord()

public deleteRecord(string $table, int $uid[, CorrelationId|null $correlationId = null ]) : string
Parameters
$table : string
$uid : int
$correlationId : CorrelationId|null = null
Return values
string

modifyRecord()

public modifyRecord(string $table, int $uid, array<string|int, mixed> $payload[, CorrelationId|null $correlationId = null ]) : string
Parameters
$table : string
$uid : int
$payload : array<string|int, mixed>
$correlationId : CorrelationId|null = null
Return values
string

moveRecord()

public moveRecord(string $table, int $uid, array<string|int, mixed> $payload[, CorrelationId|null $correlationId = null ]) : string
Parameters
$table : string
$uid : int
$payload : array<string|int, mixed>
$correlationId : CorrelationId|null = null
Return values
string

undeleteRecord()

public undeleteRecord(string $table, int $uid[, CorrelationId|null $correlationId = null ]) : string
Parameters
$table : string
$uid : int
$correlationId : CorrelationId|null = null
Return values
string

        
On this page

Search results