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

Public Member Functions

 __construct ($content=null)
 
- Public Member Functions inherited from Hoa\Mail\Content\Text
 __construct ($content=null)
 
 prepend ($content)
 
 append ($content)
 
 get ()
 
- 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 ()
 

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\Text
 _getContent ()
 
- Protected Member Functions inherited from Hoa\Mail\Content\Content
 _getContent ()
 
- Protected Attributes inherited from Hoa\Mail\Content\Text
 $_content = null
 
- Protected Attributes inherited from Hoa\Mail\Content\Content
 $_headers = []
 

Detailed Description

Class .

This class represents an HTML document.

Definition at line 47 of file Html.php.

Constructor & Destructor Documentation

Hoa\Mail\Content\Html::__construct (   $content = null)

Construct an HTML content.

Parameters
string$contentContent.
Returns
void

Definition at line 55 of file Html.php.

56  {
57  parent::__construct($content);
58  $this['content-type'] = 'text/html; charset=utf-8';
59 
60  return;
61  }
$content
Definition: Hoa.php:119

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