PageRenderTime 17ms CodeModel.GetById 12ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/framework/vendor/swift/lib/classes/Swift/Mime/HeaderEncoder/Base64HeaderEncoder.php

http://zoop.googlecode.com/
PHP | 36 lines | 12 code | 6 blank | 18 comment | 0 complexity | 78cccfbba314fa97abd6e5d3c20e5104 MD5 | raw file
 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
11require_once dirname(__FILE__) . '/../HeaderEncoder.php';
12require_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 */
21class 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}