~olivier-chatelain/php-addressbook/trunk

« back to all changes in this revision

Viewing changes to z-push/lib/syncobjects/syncresolverecipients.php

  • Committer: chatelao
  • Date: 2016-09-11 07:59:37 UTC
  • Revision ID: git-v1:03926e44d99a04a3b05d4761e322a1f5e8a405d7
Chg: Upgrade z-push from 2.0.3 to 2.2.12 (stable)

Show diffs side-by-side

added added

removed removed

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