source: branches/2.5/zpush/lib/syncobjects/syncsendmailsource.php @ 7589

Revision 7589, 2.9 KB checked in by douglas, 12 years ago (diff)

Ticket #3209 - Integrar módulo de sincronização Z-push ao Expresso

Line 
1<?php
2/***********************************************
3* File      :   syncsendmailsource.php
4* Project   :   Z-Push
5* Descr     :   WBXML send mail source entities
6*               that can be parsed directly
7*               (as a stream) from WBXML.
8*               It is automatically decoded
9*               according to $mapping,
10*               and the Sync WBXML mappings.
11*
12* Created   :   30.01.2012
13*
14* Copyright 2007 - 2012 Zarafa Deutschland GmbH
15*
16* This program is free software: you can redistribute it and/or modify
17* it under the terms of the GNU Affero General Public License, version 3,
18* as published by the Free Software Foundation with the following additional
19* term according to sec. 7:
20*
21* According to sec. 7 of the GNU Affero General Public License, version 3,
22* the terms of the AGPL are supplemented with the following terms:
23*
24* "Zarafa" is a registered trademark of Zarafa B.V.
25* "Z-Push" is a registered trademark of Zarafa Deutschland GmbH
26* The licensing of the Program under the AGPL does not imply a trademark license.
27* Therefore any rights, title and interest in our trademarks remain entirely with us.
28*
29* However, if you propagate an unmodified version of the Program you are
30* allowed to use the term "Z-Push" to indicate that you distribute the Program.
31* Furthermore you may use our trademarks where it is necessary to indicate
32* the intended purpose of a product or service provided you use it in accordance
33* with honest practices in industrial or commercial matters.
34* If you want to propagate modified versions of the Program under the name "Z-Push",
35* you may only do so if you have a written permission by Zarafa Deutschland GmbH
36* (to acquire a permission please contact Zarafa at trademark@zarafa.com).
37*
38* This program is distributed in the hope that it will be useful,
39* but WITHOUT ANY WARRANTY; without even the implied warranty of
40* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
41* GNU Affero General Public License for more details.
42*
43* You should have received a copy of the GNU Affero General Public License
44* along with this program.  If not, see <http://www.gnu.org/licenses/>.
45*
46* Consult LICENSE file for details
47************************************************/
48
49class SyncSendMailSource extends SyncObject {
50    public $folderid;
51    public $itemid;
52    public $longid;
53    public $instanceid;
54
55    function SyncSendMailSource() {
56        $mapping = array (
57                    SYNC_COMPOSEMAIL_FOLDERID                             => array (  self::STREAMER_VAR      => "folderid"),
58                    SYNC_COMPOSEMAIL_ITEMID                               => array (  self::STREAMER_VAR      => "itemid"),
59                    SYNC_COMPOSEMAIL_LONGID                               => array (  self::STREAMER_VAR      => "longid"),
60                    SYNC_COMPOSEMAIL_INSTANCEID                           => array (  self::STREAMER_VAR      => "instanceid"),
61        );
62
63        parent::SyncObject($mapping);
64    }
65
66}
67?>
Note: See TracBrowser for help on using the repository browser.