Contact_Vcard_Parse
[ class tree: Contact_Vcard_Parse ] [ index: Contact_Vcard_Parse ] [ all elements ]

Source for file test.php

Documentation is available at test.php

  1. <?php
  2.     
  3.     // report all errors
  4.     error_reporting(E_ALL);
  5.     
  6.     // include the class file
  7.     require_once 'Contact_Vcard_Parse.php';
  8.     
  9.     // instantiate a parser object
  10.     $parse = new Contact_Vcard_Parse();
  11.     
  12.     // parse it
  13.     $data $parse->fromFile('test.vcf');
  14.     
  15.     // output results
  16.     echo '<pre>';
  17.     print_r($data);
  18.     echo '</pre>';
  19.     
  20. ?>

Documentation generated on Mon, 11 Mar 2019 14:19:47 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.