diff options
author | Morris Jobke <hey@morrisjobke.de> | 2017-04-12 00:13:34 +0300 |
---|---|---|
committer | Bjoern Schiessle <bjoern@schiessle.org> | 2017-04-12 18:16:26 +0300 |
commit | 050ce1d40bf344510338a401ce6b68f76ed3f5e5 (patch) | |
tree | f435c789b50c5198fa66a494f8a71c590e80f7a3 /lib/public/Mail | |
parent | b90e91144bc8d378f6f52025f04383ae2e7c647b (diff) |
Add addBodyButton to add a single button to email templates
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'lib/public/Mail')
-rw-r--r-- | lib/public/Mail/IEMailTemplate.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/public/Mail/IEMailTemplate.php b/lib/public/Mail/IEMailTemplate.php index a1922e86151..7b85c154c36 100644 --- a/lib/public/Mail/IEMailTemplate.php +++ b/lib/public/Mail/IEMailTemplate.php @@ -93,6 +93,16 @@ interface IEMailTemplate { public function addBodyButtonGroup($textLeft, $urlLeft, $textRight, $urlRight, $plainTextLeft = '', $plainTextRight = ''); /** + * Adds a button to the body of the email + * + * @param string $text Text of button + * @param string $url URL of button + * + * @since 12.0.0 + */ + public function addBodyButton($text, $url); + + /** * Adds a logo and a text to the footer. <br> in the text will be replaced by new lines in the plain text email * * @param string $text |