PA_Newsletter
in package
The PuzzleAnywhere Newsletter class. It allows for an easier way to display a newsletter. Newsletters are traditionally embedded with the `PA_Puzzle` `get` method.
Table of Contents
- $html_text : string
- The newsletter HTML markup.
- $id : int
- The Newsletter ID
- $plain_text : string
- The newsletter plain text.
- $sender_name : string
- The newsletter sender name.
- $subject : string
- The newsletter email subject/title.
- trimmedText() : string
- Trims the HTML markup.
Properties
$html_text
The newsletter HTML markup.
public
string
$html_text
$id
The Newsletter ID
public
int
$id
$plain_text
The newsletter plain text.
public
string
$plain_text
$sender_name
The newsletter sender name.
public
string
$sender_name
$subject
The newsletter email subject/title.
public
string
$subject
Methods
trimmedText()
Trims the HTML markup.
public
trimmedText() : string
Return values
string —The trimmed HTML text.