TYPO3  7.6
Mime/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 
17 {
27  public function __construct(Swift_Mime_HeaderSet $headers, Swift_Mime_ContentEncoder $encoder, Swift_KeyCache $cache, Swift_Mime_Grammar $grammar, $mimeTypes = array())
28  {
29  parent::__construct($headers, $encoder, $cache, $grammar, $mimeTypes);
30  $this->setDisposition('inline');
31  $this->setId($this->getId());
32  }
33 
41  public function getNestingLevel()
42  {
43  return self::LEVEL_RELATED;
44  }
45 }