我正在使用 TYPO3 v10,并且我已经构建了一个扩展。
在前端的某些部分,我需要获取 crdate 或 tstamp。TYPO3 没有用于检索它们的 getter 和 setter。
在 TYPO3 v10 之前,您可以执行以下操作:
config.tx_extbase {
persistence {
classes {
TYPO3\CMS\Extbase\Domain\Model\FileMount {
mapping {
tableName = sys_filemounts
columns {
title.mapOnProperty = title
path.mapOnProperty = path
base.mapOnProperty = isAbsolutePath
}
}
}
}
}
}
此致,