655af203 |
1 | <?php |
2 | |
3 | /** |
4 | * vCard.class |
5 | * |
6c84ba1e |
6 | * Copyright (c) 2003-2005 The SquirrelMail Project Team |
655af203 |
7 | * Licensed under the GNU GPL. For full terms see the file COPYING. |
8 | * |
9 | * This (will) contain functions needed to vCards. |
10 | * |
c53407bc |
11 | * http://www.imc.org/pdi/vcard-21.txt |
12 | * |
883d9cd3 |
13 | * @version $Id$ |
2b646597 |
14 | * @package squirrelmail |
3b172183 |
15 | * @since 1.3.2 |
655af203 |
16 | */ |
17 | |
2b646597 |
18 | /** |
3b172183 |
19 | * Unimplemented class that should handle vcards |
20 | * Don't use it unless it is marked as implemented. |
2b646597 |
21 | * @package squirrelmail |
22 | */ |
c53407bc |
23 | class VCard { |
3b172183 |
24 | /** |
25 | * Create vcard from information stored in array |
26 | * @todo implement vcard creation from array |
27 | * @param array $value_array |
28 | * @return string |
29 | */ |
30 | function create_vcard ($value_array) { |
31 | return $vcard; |
32 | } |
33 | |
34 | /** |
35 | * Read vcard and convert it to array |
36 | * @todo implement vcard parsing |
37 | * @param string $vcard |
38 | * @return array |
39 | */ |
40 | function parse_vcard ($vcard) { |
41 | return $array; |
42 | } |
c53407bc |
43 | } |
8d8da447 |
44 | ?> |