TYPO3 API  SVNRelease
Replacements.php
Go to the documentation of this file.
00001 <?php
00002 
00003 /*
00004  * This file is part of SwiftMailer.
00005  * (c) 2004-2009 Chris Corbyn
00006  *
00007  * For the full copyright and license information, please view the LICENSE
00008  * file that was distributed with this source code.
00009  */
00010 
00011 /**
00012  * Allows customization of Messages on-the-fly.
00013  *
00014  * @package Swift
00015  * @subpackage Plugins
00016  *
00017  * @author Chris Corbyn
00018  */
00019 interface Swift_Plugins_Decorator_Replacements
00020 {
00021 
00022   /**
00023    * Return the array of replacements for $address.
00024    *
00025    * This method is invoked once for every single recipient of a message.
00026    *
00027    * If no replacements can be found, an empty value (NULL) should be returned
00028    * and no replacements will then be made on the message.
00029    *
00030    * @param string $address
00031    *
00032    * @return array
00033    */
00034   public function getReplacementsFor($address);
00035 
00036 }