[FEATURE] Providing Core Resource FileReference functionality
authorBenjamin Rau <rau@codearts.at>
Thu, 7 Mar 2013 12:19:25 +0000 (13:19 +0100)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Fri, 15 Mar 2013 19:39:26 +0000 (20:39 +0100)
commit15c9ba335dfd96abb43d6fcc3f2e051f95016bdc
tree0c53c4145bc935d4f82ec935b7ef0b0b191d20bf
parent855b42050baaab3f9dbd711c1f3329a7d7133182
[FEATURE] Providing Core Resource FileReference functionality

Retrieve file information from Core\Resource by creating
a FAL resource object on the fly when needed.

You can access properties or getters of the object in Fluid
easily with the dot notation:

E.g.:

{myEntity.fileProperty.originalResource.title}
{myEntity.fileProperty.originalResource.properties.identifier}

Resolves: #46102
Releases: 6.1, 6.0
Change-Id: I33ff6a088e61715513446ae7600d3d21cbcfcd5a
Reviewed-on: https://review.typo3.org/18779
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
typo3/sysext/extbase/Classes/Domain/Model/File.php
typo3/sysext/extbase/Classes/Domain/Model/FileReference.php