| Total Complexity | 5 |
| Total Lines | 29 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 4 | class PendingRejectedEmail extends VolunteerEmail |
||
| 5 | { |
||
| 6 | public function __construct($userProfile) |
||
| 7 | { |
||
| 8 | parent::__construct($userProfile); |
||
| 9 | $this->addToAddress($userProfile->email); |
||
| 10 | } |
||
| 11 | |||
| 12 | public function getSubject() |
||
| 13 | { |
||
| 14 | return 'Burning Flipside: Volunteer Shift removed'; |
||
| 15 | } |
||
| 16 | |||
| 17 | public function setShift($shift) |
||
| 18 | { |
||
| 19 | $this->shift = $shift; |
||
|
|
|||
| 20 | } |
||
| 21 | |||
| 22 | public function getHTMLBody() |
||
| 23 | { |
||
| 24 | return 'You are recieving this message because your pending shift for '.$this->shift['roleID'].' starting at '.$this->shift['startTime'].' has been removed.<br/> |
||
| 25 | Thank you for your interest in this shift, but we could not accomidate your request for this shift at this time.<br/> |
||
| 26 | Thank you,<br/> |
||
| 27 | Burning Flipside Volunteer Team'; |
||
| 28 | } |
||
| 29 | |||
| 30 | public function getTextBody() |
||
| 33 | Thank you for your interest in this shift, but we could not accomidate your request for this shift at this time. |
||
| 34 | Thank you, |
||
| 35 | Burning Flipside Volunteer Team'; |
||
| 36 | } |
||
| 37 | } |
||
| 39 |