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

Source for file localeSettings.php

Documentation is available at localeSettings.php

  1. <?php
  2. /**
  3.  * <b>Class Description</b>: Class representing the locale specific system configuration settings
  4.  *
  5.  * @since : 29/04/2009
  6.  * @author Jan van der Breggen
  7.  * @package RvTwoClasses
  8.  * 
  9.  ***/
  10. {
  11.     private $countryCode;
  12.     private $countryIsoCode;
  13.     private $countryPrintLabel;
  14.     private $currencySign;
  15.     private $thousandsSeparator;
  16.     private $decimalSeparator;
  17.     private $intlCurrencySign;
  18.     private $defaultLanguage;
  19.     private $sortListsBy;
  20.     private $displayListsBy;
  21.     private $dateFormat;
  22.     
  23.     function __construct()
  24.     {
  25.         
  26.     }
  27.     
  28.     
  29.     function setCurrencySign($sign)
  30.     {
  31.         $this->currencySign = $sign;
  32.     }
  33.     
  34.     function getCurrencySign()
  35.     {
  36.         return $this->currencySign;
  37.     }
  38.     
  39.     function setIntlCurrencySign($sign)
  40.     {
  41.         $this->intlCurrencySign = $sign;
  42.     }
  43.     
  44.     function getIntlcurrencySign()
  45.     {
  46.         return $this->intlCurrencySign;
  47.     }
  48.     
  49.     function setDecimalSeparator($separator)
  50.     {
  51.         $this->decimalSeparator = $separator;
  52.     }
  53.     
  54.     function getDecimalSeparator()
  55.     {
  56.         return $this->decimalSeparator;
  57.     }
  58.     
  59.     function setThousandsSeparator($separator)
  60.     {
  61.         $this->thousandsSeparator = $separator;
  62.     }
  63.     
  64.     function getThousandsSeparator()
  65.     {
  66.         return $this->thousandsSeparator;
  67.     }
  68.     
  69.     function setCurrencyNumberConfig($currSign$intlCurrSign$decimal$thousands)
  70.     {
  71.         $this->currencySign = $currSign;
  72.         $this->intlCurrencySign = $intlCurrSign;
  73.         $this->decimalSeparator = $decimal;
  74.         $this->thousandsSeparator = $thousands;
  75.     }
  76.     
  77.     function setCountry($code$isoCode$label)
  78.     {
  79.         $this->countryCode = $code;
  80.         $this->countryIsoCode = $isoCode;
  81.         $this->countryPrintLabel = $label;
  82.     }
  83.     
  84.     function getCountryCode()
  85.     {
  86.         return $this->countryCode;
  87.     }
  88.     
  89.     function getCountryIsoCode()
  90.     {
  91.         return $this->countryIsoCode;
  92.     }
  93.     
  94.     function getCountryLabel()
  95.     {
  96.         return $this->countryPrintLabel;
  97.     }
  98. }
  99. ?>

Documentation generated on Mon, 18 May 2009 11:22:03 +0200 by phpDocumentor 1.4.1