PHP Class Jyxo\Mail\Email\Attachment\InlineStringAttachment

Author: Jaroslav Hanslík
Inheritance: extends Jyxo\Mail\Email\Attachment
Afficher le fichier Open project: jyxo/php

Protected Properties

Свойство Type Description
$disposition string Type.

Méthodes publiques

Méthode Description
__construct ( string $content, string $name, string $cid, string $mimeType = 'application/octet-stream', string $encoding = '' ) Creates an attachment.
setCid ( string $cid ) : self Sets Id.
setEncoding ( string $encoding ) : self Sets contents encoding.

Method Details

__construct() public méthode

Creates an attachment.
public __construct ( string $content, string $name, string $cid, string $mimeType = 'application/octet-stream', string $encoding = '' )
$content string FileAttachment contents
$name string Attachment name
$cid string Id
$mimeType string Attachment mime-type
$encoding string Source encoding

setCid() public méthode

Sets Id.
public setCid ( string $cid ) : self
$cid string
Résultat self

setEncoding() public méthode

If none is set, assume no encoding is used.
public setEncoding ( string $encoding ) : self
$encoding string Encoding name
Résultat self

Property Details

$disposition protected_oe property

Type.
protected string $disposition
Résultat string