diff options
author | Joas Schilling <coding@schilljs.com> | 2017-04-24 13:48:27 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2017-04-24 13:48:27 +0200 |
commit | 35414884d37f8dd4b589980956f92fd2c7f99474 (patch) | |
tree | 226bfe7122ff7d9c75e1048738588793b87e008d /lib/public | |
parent | 42e805f0578b95206fdddabfe6234b0880c27b1e (diff) | |
download | nextcloud-server-35414884d37f8dd4b589980956f92fd2c7f99474.tar.gz nextcloud-server-35414884d37f8dd4b589980956f92fd2c7f99474.zip |
Add lists to HTML emails
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/public')
-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 05e2fe92beb..d4010618b10 100644 --- a/lib/public/Mail/IEMailTemplate.php +++ b/lib/public/Mail/IEMailTemplate.php @@ -81,6 +81,16 @@ interface IEMailTemplate { public function addBodyText($text, $plainText = ''); /** + * Adds a list item to the body of the email + * + * @param string $text + * @param string $plainText Text that is used in the plain text email + * if empty the $text is used + * @since 12.0.0 + */ + public function addBodyListItem($text, $plainText = ''); + + /** * Adds a button group of two buttons to the body of the email * * @param string $textLeft Text of left button |