XOOPS RMCommon Utilities  2.1.8.91RC
 All Classes Namespaces Files Functions Variables
MimeEntity.php
Go to the documentation of this 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/InputByteStream.php';
12 //@require 'Swift/Mime/EncodingObserver.php';
13 //@require 'Swift/Mime/CharsetObserver.php';
14 
23 {
24 
26  const LEVEL_TOP = 16;
27 
29  const LEVEL_MIXED = 256;
30 
32  const LEVEL_ALTERNATIVE = 4096;
33 
35  const LEVEL_RELATED = 65536;
36 
43  public function getNestingLevel();
44 
49  public function getContentType();
50 
60  public function getId();
61 
67  public function getChildren();
68 
74  public function setChildren(array $children);
75 
80  public function getHeaders();
81 
87  public function getBody();
88 
94  public function setBody($body, $contentType = null);
95 
100  public function toString();
101 
106  public function toByteStream(Swift_InputByteStream $is);
107 
108 }