Selaa lähdekoodia

adding phpdoc comments

tokul 20 vuotta sitten
vanhempi
commit
2883250533
1 muutettua tiedostoa jossa 22 lisäystä ja 13 poistoa
  1. 22 13
      class/helper/VCard.class.php

+ 22 - 13
class/helper/VCard.class.php

@@ -12,24 +12,33 @@
  *
  * @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;
-}
-
-function parse_vcard ($vcard) {
-
-return $array;
-}
-
+    /**
+     * 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;
+    }
 }
-
 ?>