PageRenderTime 4ms CodeModel.GetById 1ms app.highlight 0ms RepoModel.GetById 1ms app.codeStats 0ms

/framework/vendor/swift/lib/classes/Swift/Encoder.php

http://zoop.googlecode.com/
PHP | 32 lines | 6 code | 5 blank | 21 comment | 0 complexity | fbb03397fc9ca4c14a12dc387e491c26 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
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 */
19interface 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}