TYPO3 API  SVNRelease
Encoder.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 'Swift/Mime/CharsetObserver.php';
00012 
00013 /**
00014  * Interface for all Encoder schemes.
00015  * @package Swift
00016  * @subpackage Encoder
00017  * @author Chris Corbyn
00018  */
00019 interface Swift_Encoder extends Swift_Mime_CharsetObserver
00020 {
00021 
00022   /**
00023    * Encode a given string to produce an encoded string.
00024    * @param string $string
00025    * @param int $firstLineOffset if first line needs to be shorter
00026    * @param int $maxLineLength - 0 indicates the default length for this encoding
00027    * @return string
00028    */
00029   public function encodeString($string, $firstLineOffset = 0,
00030     $maxLineLength = 0);
00031 
00032 }