| 1 | <?php |
| 2 | |
| 3 | /** |
| 4 | * vCard.class |
| 5 | * |
| 6 | * Copyright (c) 2003-2005 The SquirrelMail Project Team |
| 7 | * Licensed under the GNU GPL. For full terms see the file COPYING. |
| 8 | * |
| 9 | * This (will) contain functions needed to vCards. |
| 10 | * |
| 11 | * http://www.imc.org/pdi/vcard-21.txt |
| 12 | * |
| 13 | * @version $Id$ |
| 14 | * @package squirrelmail |
| 15 | * @since 1.3.2 |
| 16 | */ |
| 17 | |
| 18 | /** |
| 19 | * Unimplemented class that should handle vcards |
| 20 | * Don't use it unless it is marked as implemented. |
| 21 | * @package squirrelmail |
| 22 | */ |
| 23 | class VCard { |
| 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 | } |
| 43 | } |
| 44 | ?> |