- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
final class HelperCurrency {
public function format($number, $currency = '', $value = '', $format = TRUE) {
/*** .... some code .... ***/
if ($value) {
$value = $value;
} else {
$value = $this->currencies[$currency]['value'];
}
if ($value) {
$value = $number * $value;
} else {
$value = $number;
}
/*** .... some code .... ***/
if ($format) {
$decimal_point = $this->language->get('decimal_point');
} else {
$decimal_point = '.';
}
if ($format) {
$thousand_point = $this->language->get('thousand_point');
} else {
$thousand_point = '';
}
/*** .... some code .... ***/
}
}
класика от OpenCart v. 1.3.2
bildja 28.10.2009 00:13 # 0
$value = $value;
}
интересно..
guest 06.11.2009 07:31 # 0