VCard.class.php 925 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <?php
  2. /**
  3. * vCard.class
  4. *
  5. * This (will) contain functions needed to vCards.
  6. *
  7. * http://www.imc.org/pdi/vcard-21.txt
  8. *
  9. * @copyright 2003-2025 The SquirrelMail Project Team
  10. * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  11. * @version $Id$
  12. * @package squirrelmail
  13. * @since 1.3.2
  14. */
  15. /**
  16. * Unimplemented class that should handle vcards
  17. * Don't use it unless it is marked as implemented.
  18. * @package squirrelmail
  19. */
  20. class VCard {
  21. /**
  22. * Create vcard from information stored in array
  23. * @todo implement vcard creation from array
  24. * @param array $value_array
  25. * @return string
  26. */
  27. function create_vcard ($value_array) {
  28. return $vcard;
  29. }
  30. /**
  31. * Read vcard and convert it to array
  32. * @todo implement vcard parsing
  33. * @param string $vcard
  34. * @return array
  35. */
  36. function parse_vcard ($vcard) {
  37. return $array;
  38. }
  39. }