Feature #8440

Add support for named parameters for TS processors

Added by Bastian Waidelich about 5 years ago. Updated almost 5 years ago.

Status:Resolved Start date:2010-06-22
Priority:Should have Due date:
Assigned To:- % Done:

100%

Category:-
Target version:-

Description

Currently the processor notation is

foo << 1.wrap('prefix', 'suffix')

We decided to change this to
foo << 1.wrap(prefix: 'prefix', suffix: 'suffix')

You'll have to specify the parameter names. That might seem cumbersome, but it's more flexible - especially if you have a lot of parameters. Additionally it's in sync with the Fluid ViewHelper syntax.

@Note: I'm already working on this, but can't assign myself as I'm not yet member of this package. Please add me ;)


Related issues

blocks TYPO3.Neos - Task #7345: Split up TS processors into separate classes Resolved 2010-06-10

Associated revisions

Revision d113fc91
Added by Bastian Waidelich about 5 years ago

[!!!][+FEATURE] TypoScript: added support for named parameters in TypoScript processors. From now on you'll have to specify the parameter names. current syntax: "foo << 1.wrap('foo', 'bar')" new syntax: "foo << 1.wrap(prefix: 'foo', suffix: 'bar')". This resolves #8440
[!!!][~TASK] TypoScript (Processors): added ProcessorInterface. From now on you'll have to implement this interface in your custom TypoScript processors. This relates to #7345
[+TASK] TYPO3: splitted up TypoScript processors into separate classes. Resolves #7345

History

#1 Updated by Bastian Waidelich about 5 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Applied in changeset r4725.

Also available in: Atom PDF