37 public function render(
$uid) {
39 $historyEntry = $this->historyEntryRepository->findOneBySysLogUid(
$uid);
40 if (!$historyEntry instanceof \
TYPO3\CMS\Belog\Domain\Model\HistoryEntry) {
45 $this->controllerContext->getRequest()->getControllerExtensionName(),
46 array($historyEntry->getFieldlist())
49 'title' => \
TYPO3\CMS\Extbase\Utility\LocalizationUtility::translate(
'showHistory', $this->controllerContext->getRequest()->getControllerExtensionName())
55 'sh_uid' => $historyEntry->getUid(),
59 $historyLink =
'<a href="' . htmlspecialchars($historyHref) .
'">' . $historyIcon .
'</a>';
60 return $historyLabel .
' ' . $historyLink;
static getIndpEnv($getEnvName)
static getModuleUrl($moduleName, $urlParameters=array(), $backPathOverride=FALSE, $returnAbsoluteUrl=FALSE)
static getSpriteIcon($iconName, array $options=array(), array $overlays=array())
static translate($key, $extensionName, $arguments=NULL)