summaryrefslogtreecommitdiffstats
path: root/lib/public/Mail
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2017-04-25 14:31:21 +0200
committerJoas Schilling <coding@schilljs.com>2017-04-25 14:31:21 +0200
commitf1ffb728b9908e4981e6d7cf0fc7b4742ffbd880 (patch)
tree5cc4682177909e5647963e27a59d8b73cb76e03e /lib/public/Mail
parent35414884d37f8dd4b589980956f92fd2c7f99474 (diff)
downloadnextcloud-server-f1ffb728b9908e4981e6d7cf0fc7b4742ffbd880.tar.gz
nextcloud-server-f1ffb728b9908e4981e6d7cf0fc7b4742ffbd880.zip
Allow meta info and icons
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/public/Mail')
-rw-r--r--lib/public/Mail/IEMailTemplate.php8
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/public/Mail/IEMailTemplate.php b/lib/public/Mail/IEMailTemplate.php
index d4010618b10..6df83b4d10e 100644
--- a/lib/public/Mail/IEMailTemplate.php
+++ b/lib/public/Mail/IEMailTemplate.php
@@ -84,11 +84,15 @@ interface IEMailTemplate {
* Adds a list item to the body of the email
*
* @param string $text
+ * @param string $metaInfo
+ * @param string $icon Absolute path, must be 16*16 pixels
* @param string $plainText Text that is used in the plain text email
- * if empty the $text is used
+ * if empty the $text is used, if false none will be used
+ * @param string $plainMetaInfo Meta info that is used in the plain text email
+ * if empty the $metaInfo is used, if false none will be used
* @since 12.0.0
*/
- public function addBodyListItem($text, $plainText = '');
+ public function addBodyListItem($text, $metaInfo = '', $icon = '', $plainText = '', $plainMetaInfo = '');
/**
* Adds a button group of two buttons to the body of the email