X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=class%2Fhelper%2FVCard.class.php;h=bea5a72b0dd06c6039c5d59c7f63ed2240799dd5;hp=6dd5dd0eba1632a5a9ee169e80c694f2345b7657;hb=79ba18dc89b1b096ecdf0b77169d57e0caf661db;hpb=8d8da447778a43b78bc95f9601b385416ad84477 diff --git a/class/helper/VCard.class.php b/class/helper/VCard.class.php index 6dd5dd0e..bea5a72b 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-2013 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; -} - -} - -?> \ No newline at end of file