| 1 | <?php |
| 2 | |
| 3 | /** |
| 4 | * vCard.class |
| 5 | * |
| 6 | * This (will) contain functions needed to vCards. |
| 7 | * |
| 8 | * http://www.imc.org/pdi/vcard-21.txt |
| 9 | * |
| 10 | * @copyright 2003-2018 The SquirrelMail Project Team |
| 11 | * @license http://opensource.org/licenses/gpl-license.php GNU Public License |
| 12 | * @version $Id$ |
| 13 | * @package squirrelmail |
| 14 | * @since 1.3.2 |
| 15 | */ |
| 16 | |
| 17 | /** |
| 18 | * Unimplemented class that should handle vcards |
| 19 | * Don't use it unless it is marked as implemented. |
| 20 | * @package squirrelmail |
| 21 | */ |
| 22 | class VCard { |
| 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 | } |
| 42 | } |