PHP Class Jyxo\Mail\Email\Attachment

Author: Jaroslav HanslĂ­k
Inheritance: extends Jyxo\Spl\Object
Datei anzeigen Open project: jyxo/php

Protected Properties

Property Type Description
$cid string Id.
$content string Contents.
$disposition string Type.
$encoding string Content encoding.
$mimeType string Content mime-type.
$name string Name.

Public Methods

Method Description
getCid ( ) : string Returns Id.
getContent ( ) : string Returns contents.
getDisposition ( ) : string Returns type.
getEncoding ( ) : string Returns contents encoding.
getMimeType ( ) : string Returns content mime-type.
getName ( ) : string Returns name.
isInline ( ) : boolean Returns if the attachment is inline.
setContent ( string $content ) : self Sets contents.
setMimeType ( string $mimeType ) : self Sets content mime-type.
setName ( string $name ) : self Sets name.

Method Details

getCid() public method

Returns Id.
public getCid ( ) : string
return string

getContent() public method

Returns contents.
public getContent ( ) : string
return string

getDisposition() public method

Returns type.
public getDisposition ( ) : string
return string

getEncoding() public method

Returns contents encoding.
public getEncoding ( ) : string
return string

getMimeType() public method

Returns content mime-type.
public getMimeType ( ) : string
return string

getName() public method

Returns name.
public getName ( ) : string
return string

isInline() public method

Returns if the attachment is inline.
public isInline ( ) : boolean
return boolean

setContent() public method

Sets contents.
public setContent ( string $content ) : self
$content string Contents
return self

setMimeType() public method

Sets content mime-type.
public setMimeType ( string $mimeType ) : self
$mimeType string Mime-type
return self

setName() public method

Sets name.
public setName ( string $name ) : self
$name string Name
return self

Property Details

$cid protected_oe property

Id.
protected string $cid
return string

$content protected_oe property

Contents.
protected string $content
return string

$disposition protected_oe property

Type.
protected string $disposition
return string

$encoding protected_oe property

Content encoding.
protected string $encoding
return string

$mimeType protected_oe property

Content mime-type.
protected string $mimeType
return string

$name protected_oe property

Name.
protected string $name
return string