blob: 5977d5686b9aeca4fe4a30e4d078e5ee3a398053 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
<?php namespace Fisharebest\Localization\Locale;
use Fisharebest\Localization\Script\ScriptArab;
/**
* Class LocalePaArab
*
* @author Greg Roach <fisharebest@gmail.com>
* @copyright (c) 2015 Greg Roach
* @license GPLv3+
*/
class LocalePaArab extends LocalePa {
/** {@inheritdoc} */
protected function digitsGroup() {
return 2;
}
/** {@inheritdoc} */
public function numberSymbols() {
return array(
self::GROUP => self::ARAB_GROUP,
self::DECIMAL => self::ARAB_DECIMAL,
self::NEGATIVE => self::LTR_MARK . self::HYPHEN . self::LTR_MARK,
);
}
/** {@inheritdoc} */
protected function percentFormat() {
return '%s' . self::ARAB_PERCENT;
}
/** {@inheritdoc} */
public function script() {
return new ScriptArab;
}
}
|