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. * 
  9. * $Id: using_I18Nv2_Country.php,v 1.1 2004/05/03 15:02:17 mike Exp $
  10. */
  11.  
  12. require_once 'I18Nv2/Country.php';
  13.  
  14. $country = &new I18Nv2_Country('de', 'iso-8859-1');
  15.  
  16. echo "German name for United States: ",
  17.     $country->getName('us'), "\n";
  18.  
  19. echo "German name for Italia:        ",
  20.     $country->getName('it'), "\n";
  21.  
  22. ?>

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