Project

General

Profile

Actions

Bug #58704

closed

What does file:uid:contents do?

Added by Christian Stern over 10 years ago. Updated about 10 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
File Abstraction Layer (FAL)
Target version:
-
Start date:
2014-05-12
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.5
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

After reading data-type-gettext-file I was wondering, what file:ID:contents should do?

uid:46 is a valid image file.

page >
page = PAGE
page.10 = TEXT
page.10.data = file:46:contents

and

page >
page = PAGE
page.10 = FILES
page.10 {
  files = 46

  renderObj = TEXT
  renderObj.data = file:current:contents
}

gives me the following output.

<?xpacket begin="" id="W5M0MpCehiHzreSzNTczkc9d"?>
   <x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="XMP Core 5.1.2">
      <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
      <rdf:Description rdf:about=""/>
      </rdf:RDF>
   </x:xmpmeta>
<?xpacket end="w"?>

All other properties works correctly: name, size, sha1, extension, mime_types, publicUrl, localPath

Actions

Also available in: Atom PDF