HistoryService implements SingletonInterface

Read onlyYes
Internal

Table of Contents

Interfaces

SingletonInterface
"empty" interface for singletons (marker interface pattern)

Methods

__construct()  : mixed
getHistory()  : array<string|int, mixed>
Gets the editing history of a record.
getStageChanges()  : array<string|int, mixed>
getDifferences()  : array<string|int, mixed>
Gets the differences between two record versions out of one record history entry.
getHistoryEntries()  : array<string|int, mixed>
Gets an instance of the record history of a record.
getHistoryEntry()  : array<string|int, mixed>
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<string|int, mixed>
Parameters
$table : string

Name of the table

$id : int

Uid of the record

Return values
array<string|int, mixed>

Record history entries

getStageChanges()

public getStageChanges(string $table, int $id) : array<string|int, mixed>
Parameters
$table : string
$id : int
Return values
array<string|int, mixed>

getDifferences()

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

protected getDifferences(array<string|int, mixed> $entry) : array<string|int, mixed>
Parameters
$entry : array<string|int, mixed>

Record history entry

Return values
array<string|int, mixed>

getHistoryEntries()

Gets an instance of the record history of a record.

protected getHistoryEntries(string $table, int $id) : array<string|int, mixed>
Parameters
$table : string

Name of the table

$id : int

Uid of the record

Return values
array<string|int, mixed>

getHistoryEntry()

Gets the human readable representation of one record history entry.

protected getHistoryEntry(array<string|int, mixed> $entry) : array<string|int, mixed>
Parameters
$entry : array<string|int, mixed>

Record history entry

Tags
see
getHistory
Return values
array<string|int, mixed>

        
On this page

Search results