1: | <?php |
2: | |
3: | |
4: | |
5: | |
6: | |
7: | |
8: | namespace Aurora\Modules\DavContacts\Storages; |
9: | |
10: | |
11: | |
12: | |
13: | |
14: | |
15: | class Storage extends \Aurora\System\Managers\AbstractStorage |
16: | { |
17: | |
18: | |
19: | |
20: | |
21: | |
22: | public function getContactById($iUserId, $mContactId) |
23: | { |
24: | return false; |
25: | } |
26: | |
27: | |
28: | |
29: | |
30: | |
31: | public function GetMyGlobalContact($iUserId) |
32: | { |
33: | return null; |
34: | } |
35: | |
36: | |
37: | |
38: | |
39: | |
40: | |
41: | public function GetContactByTypeId($mTypeId, $mContactId) |
42: | { |
43: | return false; |
44: | } |
45: | |
46: | |
47: | |
48: | |
49: | |
50: | |
51: | public function getContactByEmail($iUserId, $sEmail) |
52: | { |
53: | return false; |
54: | } |
55: | |
56: | |
57: | |
58: | |
59: | |
60: | |
61: | public function getContactByStrId($iUserId, $sContactStrId) |
62: | { |
63: | return false; |
64: | } |
65: | |
66: | |
67: | |
68: | |
69: | |
70: | public function getSharedContactIds($iUserId, $sContactStrId) |
71: | { |
72: | return array(); |
73: | } |
74: | |
75: | |
76: | |
77: | |
78: | |
79: | |
80: | public function getContactGroupIds($oContact) |
81: | { |
82: | return array(); |
83: | } |
84: | |
85: | |
86: | |
87: | |
88: | |
89: | |
90: | public function getGroupById($iUserId, $mGroupId) |
91: | { |
92: | return false; |
93: | } |
94: | |
95: | |
96: | |
97: | |
98: | |
99: | |
100: | public function getGroupByStrId($iUserId, $sGroupStrId) |
101: | { |
102: | return false; |
103: | } |
104: | |
105: | |
106: | |
107: | |
108: | |
109: | |
110: | public function getGroupByName($iUserId, $sName) |
111: | { |
112: | return false; |
113: | } |
114: | |
115: | |
116: | |
117: | |
118: | |
119: | |
120: | |
121: | public function getContactItemsWithoutOrder($iUserId, $iOffset, $iRequestLimit) |
122: | { |
123: | return array(); |
124: | } |
125: | |
126: | |
127: | |
128: | |
129: | |
130: | |
131: | |
132: | |
133: | |
134: | |
135: | |
136: | public function getContactItems($iSortField, $iSortOrder, $iOffset, $iRequestLimit, $aFilters, $iIdGroup) |
137: | { |
138: | return array(); |
139: | } |
140: | |
141: | |
142: | |
143: | |
144: | |
145: | |
146: | |
147: | |
148: | |
149: | public function getContactItemsCount($iUserId, $sSearch, $sFirstCharacter, $iGroupId, $iTenantId = null, $bAll = false) |
150: | { |
151: | return 0; |
152: | } |
153: | |
154: | |
155: | |
156: | |
157: | |
158: | |
159: | |
160: | |
161: | |
162: | |
163: | |
164: | |
165: | public function getGroupItems($iUserId, $iSortField, $iSortOrder, $iOffset, $iRequestLimit, $sSearch, $sFirstCharacter, $iContactId) |
166: | { |
167: | return array(); |
168: | } |
169: | |
170: | |
171: | |
172: | |
173: | |
174: | |
175: | |
176: | public function getGroupItemsCount($iUserId, $sSearch, $sFirstCharacter) |
177: | { |
178: | return 0; |
179: | } |
180: | |
181: | |
182: | |
183: | |
184: | |
185: | |
186: | |
187: | public function GetAllContactsNamesWithPhones($iUserId, $iTenantId = 0, $bAddGlobal = true) |
188: | { |
189: | return array(); |
190: | } |
191: | |
192: | |
193: | |
194: | |
195: | |
196: | |
197: | |
198: | |
199: | public function GetSuggestContactItems($iUserId, $sSearch, $iRequestLimit, $bPhoneOnly = false) |
200: | { |
201: | return array(); |
202: | } |
203: | |
204: | |
205: | |
206: | |
207: | |
208: | |
209: | |
210: | public function GetSuggestGroupItems($iUserId, $sSearch, $iRequestLimit) |
211: | { |
212: | return array(); |
213: | } |
214: | |
215: | |
216: | |
217: | |
218: | |
219: | public function updateContact($oContact) |
220: | { |
221: | return false; |
222: | } |
223: | |
224: | |
225: | |
226: | |
227: | |
228: | |
229: | public function updateContactUserId($oContact, $iUserId) |
230: | { |
231: | return true; |
232: | } |
233: | |
234: | |
235: | |
236: | |
237: | |
238: | public function updateGroup($oGroup) |
239: | { |
240: | return false; |
241: | } |
242: | |
243: | |
244: | |
245: | |
246: | |
247: | public function createContact($oContact) |
248: | { |
249: | return false; |
250: | } |
251: | |
252: | |
253: | |
254: | |
255: | |
256: | public function createGroup($oGroup) |
257: | { |
258: | return false; |
259: | } |
260: | |
261: | |
262: | |
263: | |
264: | |
265: | |
266: | public function deleteContacts($iUserId, $aContactIds, $sAddressBook = \Afterlogic\DAV\Constants::ADDRESSBOOK_DEFAULT_NAME) |
267: | { |
268: | return true; |
269: | } |
270: | |
271: | |
272: | |
273: | |
274: | |
275: | |
276: | public function deleteSuggestContacts($iUserId, $aContactIds) |
277: | { |
278: | return true; |
279: | } |
280: | |
281: | |
282: | |
283: | |
284: | |
285: | |
286: | public function deleteGroup($iUserId, $iGroupId) |
287: | { |
288: | return true; |
289: | } |
290: | |
291: | |
292: | |
293: | |
294: | |
295: | |
296: | public function updateSuggestTable($iUserId, $aEmails) |
297: | { |
298: | return true; |
299: | } |
300: | |
301: | |
302: | |
303: | |
304: | |
305: | |
306: | |
307: | |
308: | |
309: | |
310: | |
311: | |
312: | |
313: | |
314: | |
315: | |
316: | |
317: | |
318: | |
319: | |
320: | |
321: | |
322: | |
323: | |
324: | |
325: | public function clearAllContactsAndGroups($oAccount) |
326: | { |
327: | return true; |
328: | } |
329: | |
330: | |
331: | |
332: | |
333: | public function flushContacts() |
334: | { |
335: | return true; |
336: | } |
337: | |
338: | |
339: | |
340: | |
341: | |
342: | |
343: | public function addContactsToGroup($oGroup, $aContactIds) |
344: | { |
345: | return true; |
346: | } |
347: | |
348: | |
349: | |
350: | |
351: | |
352: | |
353: | public function GetGlobalContactById($iUserId, $mContactId) |
354: | { |
355: | return false; |
356: | } |
357: | } |
358: | |