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