ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
ilMailBody Class Reference
+ Collaboration diagram for ilMailBody:

Public Member Functions

 __construct (string $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 7 of file class.ilMailBody.php.

Constructor & Destructor Documentation

◆ __construct()

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

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

References ilMailBodyPurifier\purify().

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

Member Function Documentation

◆ getContent()

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

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

References $bodyContent.

26  : string
27  {
28  return $this->bodyContent;
29  }

Field Documentation

◆ $bodyContent

ilMailBody::$bodyContent
private

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

Referenced by getContent().


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