Happy New Year
[squirrelmail.git] / class / helper / VCard.class.php
index 5be02b3f2c30a26616cf49b8293daa0fd5e9094e..fa4fbaa54b808bcc62fb3361026cb98ec97a696d 100644 (file)
@@ -3,33 +3,40 @@
 /**
  * vCard.class
  *
- * Copyright (c) 2003-2005 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-2019 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