MapiPropertyTypeType   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 222
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 2
Bugs 0 Features 0
Metric Value
wmc 1
c 2
b 0
f 0
lcom 0
cbo 1
dl 0
loc 222
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A __toString() 0 4 1
1
<?php
2
3
namespace PhpEws\DataType;
4
5
use PhpEws\DataType;
6
7
/**
8
 * Represents the property type of a property tag. This corresponds to the least
9
 * significant word in a property tag.
10
 */
11
class MapiPropertyTypeType extends DataType
12
{
13
    /**
14
     * A double value that is interpreted as a date and time. The integer part
15
     * is the date and the fraction part is the time.
16
     *
17
     * @var string
18
     */
19
    const APPLICATION_TIME = 'ApplicationTime';
20
21
    /**
22
     * An array of double values that are interpreted as a date and time.
23
     *
24
     * @var string
25
     */
26
    const APPLICATION_TIME_ARRAY = 'ApplicationTimeArray';
27
28
    /**
29
     * A Base64-encoded binary value.
30
     *
31
     * @var string
32
     */
33
    const BINARY = 'Binary';
34
35
    /**
36
     * An array of Base64-encoded binary values.
37
     *
38
     * @var string
39
     */
40
    const BINARY_ARRAY = 'BinaryArray';
41
42
    /**
43
     * A Boolean true or false.
44
     *
45
     * @var string
46
     */
47
    const BOOLEAN = 'Boolean';
48
49
    /**
50
     * A GUID string.
51
     *
52
     * @var string
53
     */
54
    const CLSID = 'CLSID';
55
56
    /**
57
     * An array of GUID strings.
58
     *
59
     * @var string
60
     */
61
    const CLSID_ARRAY = 'CLSIDArray';
62
63
    /**
64
     * A 64-bit integer that is interpreted as the number of cents.
65
     *
66
     * @var string
67
     */
68
    const CURRENCY = 'Currency';
69
70
    /**
71
     * An array of 64-bit integers that are interpreted as the number of cents.
72
     *
73
     * @var string
74
     */
75
    const CURRENCY_ARRAY = 'CurrencyArray';
76
77
    /**
78
     * A 64-bit floating-point value.
79
     *
80
     * @var string
81
     */
82
    const DOUBLE = 'Double';
83
84
    /**
85
     * An array of 64-bit floating-point values.
86
     *
87
     * @var string
88
     */
89
    const DOUBLE_ARRAY = 'DoubleArray';
90
91
    /**
92
     * SCODE value; 32-bit unsigned integer.
93
     *
94
     * Not used for restrictions or for getting/setting values. This exists only
95
     * for reporting.
96
     *
97
     * @var string
98
     */
99
    const ERROR = 'Error';
100
101
    /**
102
     * A 32-bit floating-point value.
103
     *
104
     * @var string
105
     */
106
    const FLOAT = 'Float';
107
108
    /**
109
     * An array of 32-bit floating-point values.
110
     *
111
     * @var string
112
     */
113
    const FLOAT_ARRAY = 'FloatArray';
114
115
    /**
116
     * A signed 32-bit (Int32) integer.
117
     *
118
     * @var string
119
     */
120
    const INTEGER = 'Integer';
121
122
    /**
123
     * An array of signed 32-bit (Int32) integers.
124
     *
125
     * @var string
126
     */
127
    const INTEGER_ARRAY = 'IntegerArray';
128
129
    /**
130
     * A signed or unsigned 64-bit (Int64) integer.
131
     *
132
     * @var string
133
     */
134
    const LONG = 'Long';
135
136
    /**
137
     * An array of signed or unsigned 64-bit (Int64) integers.
138
     *
139
     * @var string
140
     */
141
    const LONG_ARRAY = 'LongArray';
142
143
    /**
144
     * Indicates no property value.
145
     *
146
     * Not used for restrictions or for getting/setting values. This exists only
147
     * for reporting.
148
     *
149
     * @var string
150
     */
151
    const NULL_TYPE = 'Null';
152
153
    /**
154
     * A pointer to an object that implements the IUnknown interface.
155
     *
156
     * Not used for restrictions or for getting/setting values. This exists only
157
     * for reporting.
158
     *
159
     * @var string
160
     */
161
    const OBJECT = 'Object';
162
163
    /**
164
     * An array of pointers to objects that implement the IUnknown interface.
165
     *
166
     * Not used for restrictions or for getting/setting values. This exists only
167
     * for reporting.
168
     *
169
     * @var string
170
     */
171
    const OBJECT_ARRAY = 'ObjectArray';
172
173
    /**
174
     * A signed 16-bit integer.
175
     *
176
     * @var string
177
     */
178
    const SHORT = 'Short';
179
180
    /**
181
     * An array of signed 16-bit integers.
182
     *
183
     * @var string
184
     */
185
    const SHORT_ARRAY = 'ShortArray';
186
187
    /**
188
     * A 64-bit integer data and time value in the form of a FILETIME structure.
189
     *
190
     * @var string
191
     */
192
    const SYSTEM_TIME = 'SystemTime';
193
194
    /**
195
     * An array of 64-bit integer data and time values in the form of a FILETIME
196
     * structure.
197
     *
198
     * @var string
199
     */
200
    const SYSTEM_TIME_ARRAY = 'SystemTimeArray';
201
202
    /**
203
     * A Unicode string.
204
     *
205
     * @var string
206
     */
207
    const STRING = 'String';
208
209
    /**
210
     * An array of Unicode strings.
211
     *
212
     * @var string
213
     */
214
    const STRING_ARRAY = 'StringArray';
215
216
    /**
217
     * Element value.
218
     *
219
     * @var string
220
     */
221
    public $_;
222
223
    /**
224
     * Returns the value of this object as a string.
225
     *
226
     * @return string
227
     */
228
    public function __toString()
229
    {
230
        return $this->_;
231
    }
232
}
233