Back to index

d-push  2.0
syncsendmailsource.php
Go to the documentation of this file.
00001 <?php
00002 /***********************************************
00003 * File      :   syncsendmailsource.php
00004 * Project   :   Z-Push
00005 * Descr     :   WBXML send mail source entities
00006 *               that can be parsed directly
00007 *               (as a stream) from WBXML.
00008 *               It is automatically decoded
00009 *               according to $mapping,
00010 *               and the Sync WBXML mappings.
00011 *
00012 * Created   :   30.01.2012
00013 *
00014 * Copyright 2007 - 2012 Zarafa Deutschland GmbH
00015 *
00016 * This program is free software: you can redistribute it and/or modify
00017 * it under the terms of the GNU Affero General Public License, version 3,
00018 * as published by the Free Software Foundation with the following additional
00019 * term according to sec. 7:
00020 *
00021 * According to sec. 7 of the GNU Affero General Public License, version 3,
00022 * the terms of the AGPL are supplemented with the following terms:
00023 *
00024 * "Zarafa" is a registered trademark of Zarafa B.V.
00025 * "Z-Push" is a registered trademark of Zarafa Deutschland GmbH
00026 * The licensing of the Program under the AGPL does not imply a trademark license.
00027 * Therefore any rights, title and interest in our trademarks remain entirely with us.
00028 *
00029 * However, if you propagate an unmodified version of the Program you are
00030 * allowed to use the term "Z-Push" to indicate that you distribute the Program.
00031 * Furthermore you may use our trademarks where it is necessary to indicate
00032 * the intended purpose of a product or service provided you use it in accordance
00033 * with honest practices in industrial or commercial matters.
00034 * If you want to propagate modified versions of the Program under the name "Z-Push",
00035 * you may only do so if you have a written permission by Zarafa Deutschland GmbH
00036 * (to acquire a permission please contact Zarafa at trademark@zarafa.com).
00037 *
00038 * This program is distributed in the hope that it will be useful,
00039 * but WITHOUT ANY WARRANTY; without even the implied warranty of
00040 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
00041 * GNU Affero General Public License for more details.
00042 *
00043 * You should have received a copy of the GNU Affero General Public License
00044 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
00045 *
00046 * Consult LICENSE file for details
00047 ************************************************/
00048 
00049 class SyncSendMailSource extends SyncObject {
00050     public $folderid;
00051     public $itemid;
00052     public $longid;
00053     public $instanceid;
00054 
00055     function SyncSendMailSource() {
00056         $mapping = array (
00057                     SYNC_COMPOSEMAIL_FOLDERID                             => array (  self::STREAMER_VAR      => "folderid"),
00058                     SYNC_COMPOSEMAIL_ITEMID                               => array (  self::STREAMER_VAR      => "itemid"),
00059                     SYNC_COMPOSEMAIL_LONGID                               => array (  self::STREAMER_VAR      => "longid"),
00060                     SYNC_COMPOSEMAIL_INSTANCEID                           => array (  self::STREAMER_VAR      => "instanceid"),
00061         );
00062 
00063         parent::SyncObject($mapping);
00064     }
00065 
00066 }
00067 ?>