HistoryService

readonly class \TYPO3\CMS\Workspaces\Service\HistoryService

Table of Contents

Methods

__construct()  : mixed
getHistory()  : array
Gets the editing history of a record.
getStageChanges()  : array
getDifferences()  : array
Gets the differences between two record versions out of one record history entry.
getHistoryEntries()  : array
Gets an instance of the record history of a record.
getHistoryEntry()  : array
Gets the human readable representation of one record history entry.
getLanguageService()  : LanguageService

Methods

getHistory()

Gets the editing history of a record.

public getHistory(string $table, int $id) : array

Parameters

$table : string
$id : int

Return values

array

getStageChanges()

public getStageChanges(string $table, int $id) : array

Parameters

$table : string
$id : int

Return values

array

getDifferences()

Gets the differences between two record versions out of one record history entry.

protected getDifferences(array $entry) : array

Parameters

$entry : array

Record history entry

Return values

array

getHistoryEntries()

Gets an instance of the record history of a record.

protected getHistoryEntries(string $table, int $id) : array

Parameters

$table : string
$id : int

Return values

array

getHistoryEntry()

Gets the human readable representation of one record history entry.

protected getHistoryEntry(array $entry) : array

Parameters

$entry : array

Record history entry

Tags

see
getHistory

Return values

array
On this page