[FEATURE] Providing Core Resource FileReference functionality
authorBenjamin Rau <rau@codearts.at>
Thu, 7 Mar 2013 12:19:25 +0000 (13:19 +0100)
committerHelmut Hummel <helmut.hummel@typo3.org>
Sun, 28 Apr 2013 12:42:50 +0000 (14:42 +0200)
commit0c2f1d8414bc2715b22cbcab6371cba76a749219
treef861d8d21d69cd3cb6aa3f40ff59d5d25d3edd43
parent736557f15ca97aeb9c06fa46b6bc046686e0eaf7
[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/20257
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
typo3/sysext/extbase/Classes/Domain/Model/File.php
typo3/sysext/extbase/Classes/Domain/Model/FileReference.php