[FEATURE] Automatically determine page type for URIs with format 23/21123/3
authorLienhart Woitok <lienhart.woitok@netlogix.de>
Sat, 18 Jun 2011 17:58:58 +0000 (19:58 +0200)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Sun, 2 Jun 2013 09:21:35 +0000 (11:21 +0200)
commit81bd717d6b98fe4bf07332f018d444a8189a2d8e
tree0adf20dbc6f61ad30ad44afe5982a8b6d7b91276
parentc3a9446ff33c7c0e308540156a9331cb4ba2f0a5
[FEATURE] Automatically determine page type for URIs with format

When rendering a special format a custom page type is required.
This adds a mapping configuration to define which page type
should be used for which format.

Example:
plugin.tx_myext {
    view.formatToPageTypeMapping {
        txt = 99
        pdf = 123
    }
}

The formats defined will apply to all Plugins in your extension.

Change-Id: I22beb6334a094711abfb2ee7b53fb3e065ec8580
Releases: 6.2
Resolves: #27498
Reviewed-on: https://review.typo3.org/21123
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
typo3/sysext/extbase/Classes/Mvc/Web/Routing/UriBuilder.php
typo3/sysext/extbase/Classes/Service/ExtensionService.php
typo3/sysext/extbase/Tests/Unit/Mvc/Web/Routing/UriBuilderTest.php