@@ 57-65 (lines=9) @@ | ||
54 | * |
|
55 | * @return boolean |
|
56 | */ |
|
57 | public function bodyIsText() |
|
58 | { |
|
59 | if ($this->data['body'] == strip_tags($this->data['body'])) |
|
60 | { |
|
61 | return true; |
|
62 | } |
|
63 | ||
64 | return false; |
|
65 | } |
|
66 | ||
67 | /** |
|
68 | * Is the body in the email HTML? |
|
@@ 72-80 (lines=9) @@ | ||
69 | * |
|
70 | * @return boolean |
|
71 | */ |
|
72 | public function bodyIsHtml() |
|
73 | { |
|
74 | if ($this->data['body'] != strip_tags($this->data['body'])) |
|
75 | { |
|
76 | return true; |
|
77 | } |
|
78 | ||
79 | return false; |
|
80 | } |
|
81 | ||
82 | /** |
|
83 | * Return the array of Attachment objects |