Made proper template for send form. Remodelled data/templating handling.

This commit is contained in:
2017-02-09 14:26:51 +01:00
parent bcec4867ac
commit 239b63ce8a
5 changed files with 76 additions and 58 deletions

View File

@ -37,6 +37,16 @@ class MailOutput extends GenericOutput
$this->subject = $newSubject;
}
/**
* Gets the currently set subject for the mail.
*
* @return string Subject currently set.
*/
public function getSubject()
{
return $this->subject;
}
/**
* Sets the given header $key to $value. A Subject: header sets
* the subject via $this->setSubject(). A To: header is ignored.