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

Source for file using_I18Nv2_Country.php

Documentation is available at using_I18Nv2_Country.php

  1. <?php
  2.  
  3. /**
  4. * Using I18Nv2_Country
  5. * ====================
  6. *
  7. * I18Nv2 provides translated lists of country names.
  8. * $Id: using_I18Nv2_Country.php,v 1.1 2004/05/03 15:02:17 mike Exp $
  9. */
  10.  
  11. require_once 'I18Nv2/Country.php';
  12.  
  13. $country &new I18Nv2_Country('de''iso-8859-1');
  14.  
  15. echo "German name for United States: ",
  16.     $country->getName('us')"\n";
  17.  
  18. echo "German name for Italia:        ",
  19.     $country->getName('it')"\n";
  20.  
  21. ?>

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