[FEATURE] Registry for adding file rendering classes 25/32925/10
authorFrans Saris <franssaris@gmail.com>
Mon, 22 Sep 2014 19:15:20 +0000 (21:15 +0200)
committerMarkus Klein <klein.t3@reelworx.at>
Tue, 21 Oct 2014 20:33:03 +0000 (22:33 +0200)
commit68fb73a35c99d91a07cab9cbc90004f4837129b4
treec45f831d4d20cf68c197f4a42a9f605ec1f23a2b
parente4c89f9d466c749467622b0c2e067edd1359afdf
[FEATURE] Registry for adding file rendering classes

To be able to render all kinds of media files a file renderingRegistry
is needed where you can register a "renderer" class that can generate
the needed HTML output.

This patch adds a registry for adding renderer classes and
a AudioTagRenderer + VideoTagRenderer class.

Resolves: #61800
Releases: master
Change-Id: Ied5e16f00e10ac0c78a6508ef42fe585558a2d2c
Reviewed-on: http://review.typo3.org/32925
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
typo3/sysext/core/Classes/Resource/Rendering/AudioTagRenderer.php [new file with mode: 0644]
typo3/sysext/core/Classes/Resource/Rendering/FileRendererInterface.php [new file with mode: 0644]
typo3/sysext/core/Classes/Resource/Rendering/RendererRegistry.php [new file with mode: 0644]
typo3/sysext/core/Classes/Resource/Rendering/VideoTagRenderer.php [new file with mode: 0644]
typo3/sysext/core/Documentation/Changelog/master/Feature-61800-FAL-RendererRegistry.rst [new file with mode: 0644]
typo3/sysext/core/Tests/Unit/Resource/Rendering/AudioTagRendererTest.php [new file with mode: 0644]
typo3/sysext/core/Tests/Unit/Resource/Rendering/RendererRegistryTest.php [new file with mode: 0644]
typo3/sysext/core/Tests/Unit/Resource/Rendering/VideoTagRendererTest.php [new file with mode: 0644]
typo3/sysext/core/ext_localconf.php