module/Applications/src/Applications/Mail/StatusChange.php 1 location
|
@@ 41-50 (lines=10) @@
|
| 38 |
|
* @param ApplicationInterface $application |
| 39 |
|
* @return StringTemplateMessage |
| 40 |
|
*/ |
| 41 |
|
public function setVariablesFromApplication(ApplicationInterface $application) |
| 42 |
|
{ |
| 43 |
|
$contact = $application->getContact(); |
| 44 |
|
$name = $contact->getDisplayName(); |
| 45 |
|
|
| 46 |
|
$variables = array( |
| 47 |
|
'name' => $name, |
| 48 |
|
); |
| 49 |
|
return $this->setVariables($variables); |
| 50 |
|
} |
| 51 |
|
|
| 52 |
|
/** |
| 53 |
|
* Sets the application |
module/Applications/src/Applications/Mail/Confirmation.php 1 location
|
@@ 86-95 (lines=10) @@
|
| 83 |
|
* @param ApplicationInterface $application |
| 84 |
|
* @return StringTemplateMessage |
| 85 |
|
*/ |
| 86 |
|
public function setVariablesFromApplication(ApplicationInterface $application) |
| 87 |
|
{ |
| 88 |
|
$contact = $application->getContact(); |
| 89 |
|
$name = $contact->getDisplayName(); |
| 90 |
|
|
| 91 |
|
$variables = array( |
| 92 |
|
'name' => $name, |
| 93 |
|
); |
| 94 |
|
return $this->setVariables($variables); |
| 95 |
|
} |
| 96 |
|
|
| 97 |
|
/** |
| 98 |
|
* @param ApplicationInterface $application |