X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=class%2Fhelper%2FVCard.class.php;h=93def7d3cef72bec6a92f9d94fd77bcd8edffb58;hb=30460a05016c7e066ad7b28df7788539e4054a99;hp=022607c16799343cc3e154123db43e350fd6675f;hpb=883d9cd3466322ced940682fc860288b49569fbe;p=squirrelmail.git diff --git a/class/helper/VCard.class.php b/class/helper/VCard.class.php index 022607c1..93def7d3 100644 --- a/class/helper/VCard.class.php +++ b/class/helper/VCard.class.php @@ -3,33 +3,40 @@ /** * vCard.class * - * Copyright (c) 2003-2004 The SquirrelMail Project Team - * Licensed under the GNU GPL. For full terms see the file COPYING. - * * This (will) contain functions needed to vCards. * * http://www.imc.org/pdi/vcard-21.txt * + * @copyright 2003-2009 The SquirrelMail Project Team + * @license http://opensource.org/licenses/gpl-license.php GNU Public License * @version $Id$ * @package squirrelmail + * @since 1.3.2 */ /** - * Undocumented class + * Unimplemented class that should handle vcards + * Don't use it unless it is marked as implemented. * @package squirrelmail */ class VCard { - -function create_vcard ($value_array) { - -return $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; + } } - -function parse_vcard ($vcard) { - -return $array; -} - -} - -?>