Cache $PHP_SELF value, add ability to make custom changes to $PHP_SELF by putting...
[squirrelmail.git] / class / helper / VCard.class.php
index 29fb896fb18f3b76333104933d515a46e7cdfa73..f8f46a4c507eba3ed47cfdd7344dd0c51f5ed055 100644 (file)
@@ -3,29 +3,40 @@
 /**
  * vCard.class
  *
- * Copyright (c) 2003 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
  *
- * $Id$
+ * @copyright 2003-2020 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 {
-
-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;
-}
-
-}
-
-?>