/** * Constructor * * @return void */ function NumberFormatter($arr_config) { parent::Formatter($arr_config); if ($this->arr_config['decimals'] == '') { $this->arr_config['decimals'] = 2; } if ($this->arr_config['dec_point'] == '') { $this->arr_config['dec_point'] = '.'; } if ($this->arr_config['thousands_sep'] == '') { $this->arr_config['thousands_sep'] = ','; } }
/** * Constructor * * @return void */ function DateFormatter($arr_config) { parent::Formatter($arr_config); }