Open Journal Systems  3.3.0
Symfony\Component\Mime\Part\DataPart Class Reference
Inheritance diagram for Symfony\Component\Mime\Part\DataPart:
Symfony\Component\Mime\Part\TextPart Symfony\Component\Mime\Part\AbstractPart Symfony\Component\Mime\Part\MessagePart

Public Member Functions

 __construct ($body, string $filename=null, string $contentType=null, string $encoding=null)
 
 __destruct ()
 
 __sleep ()
 
 __wakeup ()
 
 asDebugString ()
 
 asInline ()
 
 getContentId ()
 
 getMediaType ()
 
 getPreparedHeaders ()
 
 hasContentId ()
 
- Public Member Functions inherited from Symfony\Component\Mime\Part\TextPart
 __construct ($body, ?string $charset='utf-8', $subtype='plain', string $encoding=null)
 
 bodyToIterable ()
 
 bodyToString ()
 
 getBody ()
 
 getMediaSubtype ()
 
 setDisposition (string $disposition)
 
 setName ($name)
 
- Public Member Functions inherited from Symfony\Component\Mime\Part\AbstractPart
 __construct ()
 
 getHeaders ()
 
 toIterable ()
 
 toString ()
 

Static Public Member Functions

static fromPath (string $path, string $name=null, string $contentType=null)
 

Detailed Description

Author
Fabien Potencier fabie.nosp@m.n@sy.nosp@m.mfony.nosp@m..com

Definition at line 21 of file DataPart.php.

Constructor & Destructor Documentation

◆ __construct()

Symfony\Component\Mime\Part\DataPart::__construct (   $body,
string  $filename = null,
string  $contentType = null,
string  $encoding = null 
)
Parameters
resource | string$body

Definition at line 33 of file DataPart.php.

References Symfony\Component\Mime\Part\TextPart\setDisposition(), and Symfony\Component\Mime\Part\TextPart\setName().

◆ __destruct()

Symfony\Component\Mime\Part\DataPart::__destruct ( )

Definition at line 121 of file DataPart.php.

Member Function Documentation

◆ __sleep()

Symfony\Component\Mime\Part\DataPart::__sleep ( )
Returns
array

Reimplemented from Symfony\Component\Mime\Part\TextPart.

Definition at line 131 of file DataPart.php.

References Symfony\Component\Mime\Part\AbstractPart\getHeaders().

◆ __wakeup()

Symfony\Component\Mime\Part\DataPart::__wakeup ( )

Reimplemented from Symfony\Component\Mime\Part\TextPart.

Definition at line 147 of file DataPart.php.

◆ asDebugString()

Symfony\Component\Mime\Part\DataPart::asDebugString ( )

Reimplemented from Symfony\Component\Mime\Part\TextPart.

Definition at line 106 of file DataPart.php.

◆ asInline()

Symfony\Component\Mime\Part\DataPart::asInline ( )
Returns
$this

Definition at line 71 of file DataPart.php.

References Symfony\Component\Mime\Part\TextPart\setDisposition().

◆ fromPath()

static Symfony\Component\Mime\Part\DataPart::fromPath ( string  $path,
string  $name = null,
string  $contentType = null 
)
static

Definition at line 47 of file DataPart.php.

◆ getContentId()

Symfony\Component\Mime\Part\DataPart::getContentId ( )

Definition at line 76 of file DataPart.php.

◆ getMediaType()

Symfony\Component\Mime\Part\DataPart::getMediaType ( )

Reimplemented from Symfony\Component\Mime\Part\TextPart.

Reimplemented in Symfony\Component\Mime\Part\MessagePart.

Definition at line 86 of file DataPart.php.

◆ getPreparedHeaders()

Symfony\Component\Mime\Part\DataPart::getPreparedHeaders ( )

Reimplemented from Symfony\Component\Mime\Part\TextPart.

Definition at line 91 of file DataPart.php.

◆ hasContentId()

Symfony\Component\Mime\Part\DataPart::hasContentId ( )

Definition at line 81 of file DataPart.php.


The documentation for this class was generated from the following file: