/** * renders the label column. * * @param tx_rnbase_model_base $item * @return string */ protected function getLabelColumn(tx_rnbase_model_base $item) { $lastModifyDateTime = $item->getLastModifyDateTime(); $creationDateTime = $item->getCreationDateTime(); return sprintf('<span title="UID: %3$d %1$sLabel: %2$s %1$sCreation: %4$s %1$sLast Change: %5$s">%2$s</span>', CRLF, $item->getTcaLabel(), $item->getProperty('uid'), $creationDateTime ? $creationDateTime->format(DateTime::ATOM) : '-', $lastModifyDateTime ? $lastModifyDateTime->format(DateTime::ATOM) : '-'); }