TYPO3 API  SVNRelease
Base64HeaderEncoder.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 require_once dirname(__FILE__) . '/../HeaderEncoder.php';
00012 require_once dirname(__FILE__) . '/../../Encoder/Base64Encoder.php';
00013 
00014 
00015 /**
00016  * Handles Base64 (B) Header Encoding in Swift Mailer.
00017  * @package Swift
00018  * @subpackage Mime
00019  * @author Chris Corbyn
00020  */
00021 class Swift_Mime_HeaderEncoder_Base64HeaderEncoder
00022   extends Swift_Encoder_Base64Encoder
00023   implements Swift_Mime_HeaderEncoder
00024 {
00025 
00026   /**
00027    * Get the name of this encoding scheme.
00028    * Returns the string 'B'.
00029    * @return string
00030    */
00031   public function getName()
00032   {
00033     return 'B';
00034   }
00035 
00036 }