Code Search for Developers
 
 
  

test_vcard_import.php from Group-Office groupware at Krugle


Show test_vcard_import.php syntax highlighted

<?php
require('../../Group-Office.php');
require_once ($GO_MODULES->modules['addressbook']['path']."classes/addressbook.class.inc");
require_once ($GO_MODULES->modules['addressbook']['path']."classes/vcard.class.inc");
$vcard = new vcard();
/*
if ($content = $vcard->_get_file_content('vcard.vcf')) {
		if ($vcard->_set_vcard($content, "file")) {
		foreach ($vcard->instance as $_vcard) {
		$record = $vcard->_get_vcard_contact($_vcard);
		//$record = $vcard->_get_vcard_contact($_vcard);
		var_dump($record);
		}
	}
}
*/
$record = $vcard->vcf_to_go(file_get_contents('vcard.vcf'));

var_dump($record);




See more files for this project here

Group-Office groupware

Group-Office is a powerfull modular Internet/Intranet application framework. It features calendaring, project management, e-mail, tasks, addressbook, file management.

Project homepage: http://sourceforge.net/projects/group-office
Programming language(s): JavaScript,Pascal,PHP
License: other

  195.inc
  202.inc
  213.inc
  216.inc
  218.inc
  alias.sh
  check_links.php
  clean_events.php
  convert_links.php
  createmodule.php
  generatecode.php
  get_new_acl.php
  grant_all_to_admins.php
  reset_db_sequence.php
  rm_duplicates.php
  test_ical_import.php
  test_update_script.php
  test_vcard_export.php
  test_vcard_import.php
  update_shares.php
  vcal.icf
  vcard.vcf