ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
ilMailBody Class Reference
+ Collaboration diagram for ilMailBody:

Public Member Functions

 __construct ($content, ilMailBodyPurifier $purifier)
 
 getContent ()
 

Private Attributes

 $bodyContent
 

Detailed Description

Author
Niels Theen nthee.nosp@m.n@da.nosp@m.tabay.nosp@m..de

Definition at line 6 of file class.ilMailBody.php.

Constructor & Destructor Documentation

◆ __construct()

ilMailBody::__construct (   $content,
ilMailBodyPurifier  $purifier 
)
Parameters
string$content
ilMailBodyPurifier$purifier

Definition at line 16 of file class.ilMailBody.php.

References ilMailBodyPurifier\purify().

17  {
18  $this->bodyContent = $purifier->purify($content);
19  }
+ Here is the call graph for this function:

Member Function Documentation

◆ getContent()

ilMailBody::getContent ( )
Returns
mixed|null|string|string[]

Definition at line 23 of file class.ilMailBody.php.

References $bodyContent.

24  {
25  return $this->bodyContent;
26  }

Field Documentation

◆ $bodyContent

ilMailBody::$bodyContent
private

Definition at line 11 of file class.ilMailBody.php.

Referenced by getContent().


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