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

Source for file retrieving_locale_conventions.php

Documentation is available at retrieving_locale_conventions.php

  1. <?php
  2.  
  3. /**
  4. * Retrieving locale conventions
  5. * =============================
  6. *
  7. * I18Nv2 holds locale conventions returned by localeConv() stored statically,
  8. * so they are easily accessible through I18Nv2::getInfo(). Have a look at
  9. * the documentation of PHPs localeConv() for all available information.
  10. * $Id: retrieving_locale_conventions.php,v 1.1 2004/05/03 15:02:17 mike Exp $
  11. */
  12.  
  13. require_once 'I18Nv2.php';
  14.  
  15.  
  16. $dec_point I18Nv2::getInfo('decimal_point');
  17. echo "The decimal point for the french locale is '$dec_point'.\n";
  18. echo "I18Nv2::getInfo() called without parameter returns all available information:\n";
  19. ?>

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