Elgg
Version 6.1
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
engine
classes
Elgg
Email
HtmlPart.php
Go to the documentation of this file.
1
<?php
2
3
namespace
Elgg\Email
;
4
5
use
Laminas\Mime\Part
;
6
use
Laminas\Mime\Mime
;
7
15
class
HtmlPart
extends
Part {
16
20
public
function
__construct
(
$content
=
''
) {
21
parent::__construct(
$content
);
22
23
$this->setType(
Mime::TYPE_HTML
);
24
$this->setCharset(
'UTF-8'
);
25
$this->setEncoding(
Mime::ENCODING_BASE64
);
26
$this->setId(
'htmltext'
);
27
}
28
}
Laminas\Mime\Mime\ENCODING_BASE64
const ENCODING_BASE64
Definition:
Mime.php:47
Part
Elgg\Email\HtmlPart
Html part for email.
Definition:
HtmlPart.php:15
Laminas\Mime\Mime\TYPE_HTML
const TYPE_HTML
Definition:
Mime.php:41
Elgg\Email\HtmlPart\__construct
__construct($content= '')
Definition:
HtmlPart.php:20
$content
$content
Set robots.txt action.
Definition:
set_robots.php:6
Mime
Elgg\Email
Definition:
Address.php:3
Generated on Sat Dec 14 2024 00:00:24 for Elgg by
1.8.11