~lzap/cupooy/trunk

« back to all changes in this revision

Viewing changes to lib/vendor/swift/classes/Swift/Encoder.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 'Swift/Mime/CharsetObserver.php';
 
12
 
 
13
/**
 
14
 * Interface for all Encoder schemes.
 
15
 * @package Swift
 
16
 * @subpackage Encoder
 
17
 * @author Chris Corbyn
 
18
 */
 
19
interface Swift_Encoder extends Swift_Mime_CharsetObserver
 
20
{
 
21
  
 
22
  /**
 
23
   * Encode a given string to produce an encoded string.
 
24
   * @param string $string
 
25
   * @param int $firstLineOffset if first line needs to be shorter
 
26
   * @param int $maxLineLength - 0 indicates the default length for this encoding
 
27
   * @return string
 
28
   */
 
29
  public function encodeString($string, $firstLineOffset = 0,
 
30
    $maxLineLength = 0);
 
31
  
 
32
}