summaryrefslogtreecommitdiffstats
path: root/modules-available/locationinfo/exchange-includes/jamesiarmes/PhpEws/Enumeration/BodyTypeResponseType.php
blob: 505483482db32dc474b6764f40d51578953013bf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<?php
/**
 * Contains \jamesiarmes\PhpEws\Enumeration\BodyTypeResponseType.
 */

namespace jamesiarmes\PhpEws\Enumeration;

use \jamesiarmes\PhpEws\Enumeration;

/**
 * Defines how the body text is formatted in the response.
 *
 * @package php-ews\Enumeration
 */
class BodyTypeResponseType extends Enumeration
{
    /**
     * The response will return the richest available content of body text.
     *
     * This is useful if it is unknown whether the content is text or HTML. The
     * returned body will be text if the stored body is plain text. Otherwise,
     * the response will return HTML if the stored body is in either HTML or RTF
     * format.
     *
     * This is the default value.
     *
     * @since Exchange 2007
     *
     * @var string
     */
    const BEST = 'Best';

    /**
     * The response will return an item body as HTML.
     *
     * @since Exchange 2007
     *
     * @var string
     */
    const HTML = 'HTML';

    /**
     * The response will return an item body as plain text.
     *
     * @since Exchange 2007
     *
     * @var string
     */
    const TEXT = 'Text';
}