Hoa central
Public Member Functions | Public Attributes | List of all members
Hoa\Mail\Content\Related Class Reference
Inheritance diagram for Hoa\Mail\Content\Related:

Public Member Functions

 __construct (Array $contents=[])
 
- Public Member Functions inherited from Hoa\Mail\Content\Message
 __construct ()
 
 addContent (Content $content)
 
 getContent ()
 
 getRecipients ()
 
 getFormattedContent ($headers=false)
 
- Public Member Functions inherited from Hoa\Mail\Content\Content
 __construct ()
 
 offsetExists ($header)
 
 offsetGet ($header)
 
 offsetSet ($header, $value)
 
 offsetUnset ($header)
 
 getHeaders ()
 
 getFormattedContent ($headers=true)
 
 getId ()
 
 getIdUrl ()
 
 __toString ()
 

Public Attributes

const BOUNDARY = '@hoaproject-related-'
 
- Public Attributes inherited from Hoa\Mail\Content\Message
const BOUNDARY = '@hoaproject-'
 

Additional Inherited Members

- Static Public Member Functions inherited from Hoa\Mail\Content\Content
static formatHeaders (Array $headers)
 
static getAddress ($contact)
 
static getDomain ($contact)
 
- Protected Member Functions inherited from Hoa\Mail\Content\Message
 _getContent ()
 
 _getRecipients ($line, Array &$out)
 
- Protected Member Functions inherited from Hoa\Mail\Content\Content
 _getContent ()
 
- Protected Attributes inherited from Hoa\Mail\Content\Message
 $_content = []
 
- Protected Attributes inherited from Hoa\Mail\Content\Content
 $_headers = []
 

Detailed Description

Class .

Represent a set of content that are related. See RFC2111.

Definition at line 48 of file Related.php.

Constructor & Destructor Documentation

Hoa\Mail\Content\Related::__construct ( Array  $contents = [])

Constructor.

Parameters
array$contentsRelated contents.
Returns
void

Definition at line 65 of file Related.php.

66  {
67  foreach ($contents as $content) {
68  $this->addContent($content);
69  }
70 
71  $this['content-type'] = 'multipart/related';
72 
73  return;
74  }
$content
Definition: Hoa.php:119
addContent(Content $content)
Definition: Message.php:87

Here is the call graph for this function:

Member Data Documentation

const Hoa\Mail\Content\Related::BOUNDARY = '@hoaproject-related-'

Boundary hash prefix.

string

Definition at line 55 of file Related.php.


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