0011230: Expressomail: Interface not found
authorFlávio Gomes da Silva Lisboa <flavio.lisboa@serpro.gov.br>
Thu, 13 Aug 2015 19:47:53 +0000 (16:47 -0300)
committerPhilipp Schüle <p.schuele@metaways.de>
Fri, 14 Aug 2015 07:50:42 +0000 (09:50 +0200)
- Added Tinebase_Mail_Model_Message_Interface

Change-Id: I6296e59ef3e62365f4ca21beadb56faef96b4529
Reviewed-on: https://gerrit.tine20.org/tine20/3197
Tested-by: jenkins user
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
tine20/Tinebase/Mail/Model/Message/Interface.php [new file with mode: 0644]

diff --git a/tine20/Tinebase/Mail/Model/Message/Interface.php b/tine20/Tinebase/Mail/Model/Message/Interface.php
new file mode 100644 (file)
index 0000000..965800e
--- /dev/null
@@ -0,0 +1,37 @@
+<?php
+/**
+ * Tine 2.0
+ *
+ * @package     Tinebase
+ * @subpackage  Mail
+ * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
+ * @author      Flávio Gomes da Silva Lisboa <flavio.lisboa@serpro.gov.br>
+ * @copyright   Copyright (c) 2009-2013 Metaways Infosystems GmbH (http://www.metaways.de)
+ *
+ */
+
+
+/**
+ * @package     Tinebase
+ * @subpackage  Mail
+ */
+interface Tinebase_Mail_Model_Message_Interface
+{
+    //function fixToListModel();
+    function hasSeenFlag();
+    function hasReadFlag();
+    function sendReadingConfirmation();
+    //function parseSmime(array $_structure);
+    function parseHeaders(array $_headers);
+    function parseStructure($_structure = NULL);
+    function getPartStructure($_partId, $_useMessageStructure = TRUE);
+    function getBodyParts($_structure = NULL, $_preferedMimeType = Zend_Mime::TYPE_HTML);
+    /**
+     * @deprecated should be replaced by getBodyParts
+     * @see 0007742: refactoring: replace parseBodyParts with getBodyParts
+     */
+    function parseBodyParts();
+    function getPlainTextBody();
+    static function convertHTMLToPlainTextWithQuotes($_html, $_eol = "\n");
+    static function addQuotesAndStripTags($_node, $_quoteIndent = 0, $_eol = "\n");
+}