/
Data.php
106 lines (88 loc) · 1.81 KB
/
Data.php
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
<?php
/**
* Abstract class to handle different kinds of Data formats and to
* help data exchange between Horde applications and external sources.
*
* Copyright 1999-2014 Horde LLC (http://www.horde.org/)
*
* See the enclosed file COPYING for license information (LGPL). If you
* did not receive this file, see http://www.horde.org/licenses/lgpl21.
*
* @author Jan Schneider <jan@horde.org>
* @author Chuck Hagenbuch <chuck@horde.org>
* @category Horde
* @package Data
*/
class Horde_Data
{
/**
* Import already mapped csv data.
*/
const IMPORT_MAPPED = 1;
/**
* Map date and time entries of csv data.
*/
const IMPORT_DATETIME = 2;
/**
* Import generic CSV data.
*/
const IMPORT_CSV = 3;
/**
* Import MS Outlook data.
*/
const IMPORT_OUTLOOK = 4;
/**
* Import vCalendar/iCalendar data.
*/
const IMPORT_ICALENDAR = 5;
/**
* Import vCards.
*/
const IMPORT_VCARD = 6;
/**
* Import generic tsv data.
*/
const IMPORT_TSV = 7;
/**
* Import Mulberry address book data.
*/
const IMPORT_MULBERRY = 8;
/**
* Import Pine address book data.
*/
const IMPORT_PINE = 9;
/**
* Import file.
*/
const IMPORT_FILE = 11;
/**
* Import data.
*/
const IMPORT_DATA = 12;
/**
* Import URL.
*
* @since Horde_Data 2.1.0
*/
const IMPORT_URL = 13;
/**
* Export generic CSV data.
*/
const EXPORT_CSV = 100;
/**
* Export iCalendar data.
*/
const EXPORT_ICALENDAR = 101;
/**
* Export vCards.
*/
const EXPORT_VCARD = 102;
/**
* Export TSV data.
*/
const EXPORT_TSV = 103;
/**
* Export Outlook CSV data.
*/
const EXPORT_OUTLOOKCSV = 104;
}