Happy New Year!
[squirrelmail.git] / class / helper / VCard.class.php
index cb79f8133f11a4d53ea2f0d8741d5f1cc100507d..79e343757ff5b7defe77c76f0082dae6b127770f 100644 (file)
@@ -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-2011 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;
+    }
+}