Feature #35387

Configuration for own Formatters

Added by Julian Wachholz over 3 years ago. Updated about 2 years ago.

Status:Resolved Start date:2012-03-30
Priority:Could have Due date:
Assigned To:- % Done:

0%

Category:I18n
Target version:-
PHP Version:5.3 Complexity:medium
Has patch:No

Description

The current implementation of TYPO3\FLOW3\I18n\FormatResolver::getFormatter() only tries to get formatters from the TYPO3\FLOW3\I18n\Formatter namespace.
It should, however, be somehow possible to use your own formatters in your own namespace.

I have two suggestions for this:

  1. Use annotations to collect all possible formatter names
  2. Add a setting in Settings.yaml with a list of registered Formatter-Namespaces

History

#1 Updated by Julian Wachholz over 3 years ago

Also possible to use ReflectionService::getAllImplementationClassNamesForInterface

#2 Updated by Adrian Föder about 2 years ago

  • Status changed from New to Resolved

Also available in: Atom PDF