XOOPS RMCommon Utilities  2.1.8.91RC
 All Classes Namespaces Files Functions Variables
EmbeddedFile.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/Mime/Attachment.php';
12 //@require 'Swift/Mime/ContentEncoder.php';
13 //@require 'Swift/KeyCache.php';
14 //@require
15 
23 {
24 
32  public function __construct(Swift_Mime_HeaderSet $headers,
34  $mimeTypes = array())
35  {
36  parent::__construct($headers, $encoder, $cache, $mimeTypes);
37  $this->setDisposition('inline');
38  $this->setId($this->getId());
39  }
40 
46  public function getNestingLevel()
47  {
48  return self::LEVEL_RELATED;
49  }
50 
51 }