TYPO3
7.6
|
Public Member Functions | |
__construct () | |
getHistory ($table, $id) | |
Protected Member Functions | |
getHistoryEntry (array $entry) | |
getDifferences (array $entry) | |
getUserName ($user) | |
getDifferencesObject () | |
getLanguageService () | |
Protected Attributes | |
$backendUserNames | |
$historyObjects = array() | |
$differencesObject | |
Service for history
Definition at line 22 of file HistoryService.php.
__construct | ( | ) |
Creates this object.
Definition at line 42 of file HistoryService.php.
References BackendUtility\getUserNames().
|
protected |
Gets the differences between two record versions out of one record history entry.
array | $entry | Record history entry |
Definition at line 96 of file HistoryService.php.
References $GLOBALS, HistoryService\getDifferencesObject(), BackendUtility\getItemLabel(), and HistoryService\getLanguageService().
Referenced by HistoryService\getHistoryEntry().
|
protected |
Gets an instance of the record differences utility.
Definition at line 160 of file HistoryService.php.
References HistoryService\$differencesObject.
Referenced by HistoryService\getDifferences().
getHistory | ( | $table, | |
$id | |||
) |
Gets the editing history of a record.
string | $table | Name of the table |
int | $id | Uid of the record |
Definition at line 54 of file HistoryService.php.
References HistoryService\getHistoryEntry().
|
protected |
Gets the human readable representation of one record history entry.
array | $entry | Record history entry |
Definition at line 75 of file HistoryService.php.
References BackendUtility\datetime(), HistoryService\getDifferences(), and HistoryService\getUserName().
Referenced by HistoryService\getHistory().
|
protected |
Definition at line 171 of file HistoryService.php.
References $GLOBALS.
Referenced by HistoryService\getDifferences().
|
protected |
Gets the username of a backend user.
string | $user |
Definition at line 127 of file HistoryService.php.
Referenced by HistoryService\getHistoryEntry().
|
protected |
Definition at line 27 of file HistoryService.php.
|
protected |
Definition at line 37 of file HistoryService.php.
Referenced by HistoryService\getDifferencesObject().
|
protected |
Definition at line 32 of file HistoryService.php.