~lzap/cupooy/trunk

« back to all changes in this revision

Viewing changes to lib/vendor/swift/classes/Swift/Mime/HeaderEncoder/Base64HeaderEncoder.php

  • Committer: Lukáš Zapletal
  • Date: 2009-11-16 15:18:26 UTC
  • Revision ID: lzap@shark-20091116151826-4287asrnx59j26g0
Mailing

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?php
 
2
 
 
3
/*
 
4
 * This file is part of SwiftMailer.
 
5
 * (c) 2004-2009 Chris Corbyn
 
6
 *
 
7
 * For the full copyright and license information, please view the LICENSE
 
8
 * file that was distributed with this source code.
 
9
 */
 
10
 
 
11
require_once dirname(__FILE__) . '/../HeaderEncoder.php';
 
12
require_once dirname(__FILE__) . '/../../Encoder/Base64Encoder.php';
 
13
 
 
14
 
 
15
/**
 
16
 * Handles Base64 (B) Header Encoding in Swift Mailer.
 
17
 * @package Swift
 
18
 * @subpackage Mime
 
19
 * @author Chris Corbyn
 
20
 */
 
21
class Swift_Mime_HeaderEncoder_Base64HeaderEncoder
 
22
  extends Swift_Encoder_Base64Encoder
 
23
  implements Swift_Mime_HeaderEncoder
 
24
{
 
25
  
 
26
  /**
 
27
   * Get the name of this encoding scheme.
 
28
   * Returns the string 'B'.
 
29
   * @return string
 
30
   */
 
31
  public function getName()
 
32
  {
 
33
    return 'B';
 
34
  }
 
35
  
 
36
}