X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=class%2Fhelper%2FVCard.class.php;h=69e72800cbde3b0463ad9e54178635ae324d11a4;hp=cb79f8133f11a4d53ea2f0d8741d5f1cc100507d;hb=6872a6750379b6c17cf6a6dfec6150ade78f52a0;hpb=655af2033a335330b04b281228016e8c2ffb82fd diff --git a/class/helper/VCard.class.php b/class/helper/VCard.class.php index cb79f813..69e72800 100644 --- a/class/helper/VCard.class.php +++ b/class/helper/VCard.class.php @@ -3,13 +3,40 @@ /** * vCard.class * - * Copyright (c) 2002 The SquirrelMail Project Team - * Licensed under the GNU GPL. For full terms see the file COPYING. - * * This (will) contain functions needed to vCards. * - * $Id$ + * http://www.imc.org/pdi/vcard-21.txt + * + * @copyright 2003-2018 The SquirrelMail Project Team + * @license http://opensource.org/licenses/gpl-license.php GNU Public License + * @version $Id$ + * @package squirrelmail + * @since 1.3.2 */ +/** + * Unimplemented class that should handle vcards + * Don't use it unless it is marked as implemented. + * @package squirrelmail + */ +class VCard { + /** + * Create vcard from information stored in array + * @todo implement vcard creation from array + * @param array $value_array + * @return string + */ + function create_vcard ($value_array) { + return $vcard; + } -?> + /** + * Read vcard and convert it to array + * @todo implement vcard parsing + * @param string $vcard + * @return array + */ + function parse_vcard ($vcard) { + return $array; + } +}