Пример #1
0
 /**
  * Returns the modification time of the file as Unix timestamp
  *
  * @return int
  */
 public function getModificationTime()
 {
     return (int) $this->originalFile->getModificationTime();
 }
Пример #2
0
 /**
  * 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));
 }