本文整理汇总了PHP中TYPO3\CMS\Core\Resource\File::getModificationTime方法的典型用法代码示例。如果您正苦于以下问题:PHP File::getModificationTime方法的具体用法?PHP File::getModificationTime怎么用?PHP File::getModificationTime使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类TYPO3\CMS\Core\Resource\File
的用法示例。
在下文中一共展示了File::getModificationTime方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: getModificationTime
/**
* Returns the modification time of the file as Unix timestamp
*
* @return int
*/
public function getModificationTime()
{
return (int) $this->originalFile->getModificationTime();
}
示例2: calculateChecksum
/**
* Returns the checksum that makes the processed configuration unique
* also takes the mtime and the uid into account, to find out if the
* process needs to be done again
*
* @return string
*/
public function calculateChecksum()
{
return \TYPO3\CMS\Core\Utility\GeneralUtility::shortMD5($this->originalFile->getUid() . $this->originalFile->getModificationTime() . $this->context . serialize($GLOBALS['TYPO3_CONF_VARS']['GFX']) . serialize($this->processingConfiguration));
}