TYPO3 CMS  TYPO3_6-2
FileMetadataOverlayAspect.php
Go to the documentation of this file.
1 <?php
3 
28 
35  public function languageAndWorkspaceOverlay(\ArrayObject $data) {
36  $overlaidMetaData = $data->getArrayCopy();
37  $this->getTsfe()->sys_page->versionOL('sys_file_metadata', $overlaidMetaData);
38  $overlaidMetaData = $this->getTsfe()->sys_page->getRecordOverlay(
39  'sys_file_metadata',
40  $overlaidMetaData,
41  $this->getTsfe()->sys_language_content,
42  $this->getTsfe()->sys_language_contentOL
43  );
44  if ($overlaidMetaData !== NULL) {
45  $data->exchangeArray($overlaidMetaData);
46  }
47  }
48 
52  protected function getTsfe() {
53  return $GLOBALS['TSFE'];
54  }
55 }
if(!defined('TYPO3_MODE')) $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_userauth.php']['logoff_pre_processing'][]