TYPO3  7.6
Public Member Functions | List of all members
Swift_Plugins_Decorator_Replacements Interface Reference
Inheritance diagram for Swift_Plugins_Decorator_Replacements:
Swift_Plugins_DecoratorPlugin

Public Member Functions

 getReplacementsFor ($address)
 

Detailed Description

Allows customization of Messages on-the-fly.

Author
Chris Corbyn

Definition at line 16 of file Replacements.php.

Member Function Documentation

getReplacementsFor (   $address)

Return the array of replacements for $address.

This method is invoked once for every single recipient of a message.

If no replacements can be found, an empty value (NULL) should be returned and no replacements will then be made on the message.

Parameters
string$address
Returns
array

Implemented in Swift_Plugins_DecoratorPlugin.