00001 <?php 00002 00026 class localeInfoService 00027 { 00028 00035 function __construct(&$xmlArr) 00036 { 00037 $this->readMetadata($xmlArr); 00038 } 00039 00046 protected function readMetadata(&$xmlArr) 00047 { 00048 } 00049 00054 public function getLocaleInfo() 00055 { 00056 return array( 00057 'decimal_point' => ',', 00058 'thousands_sep' => '.', 00059 'int_curr_symbol' => 'IDR', 00060 'currency_symbol' => 'Rp.', 00061 'mon_decimal_point' => ',', 00062 'mon_thousands_sep' => '.', 00063 'positive_sign' => '', 00064 'negative_sign' => '-', 00065 'int_frac_digits' => 4, 00066 'frac_digits' => 4, 00067 'p_cs_precedes' => 4, 00068 'p_sep_by_space' => 4, 00069 'n_cs_precedes' => 4, 00070 'n_sep_by_space' => 4, 00071 'p_sign_posn' => 4, 00072 'n_sign_posn' => 4 00073 ); 00074 } 00075 00076 } 00077 00078 ?>