MediaWiki  master
LanguageKm.php
Go to the documentation of this file.
1 <?php
27 class LanguageKm extends Language {
28 
34  public function formatNum( $number, $noSeparators = null ) {
35  /* NO-op for Khmer. Cannot use
36  * $separatorTransformTable = [ ',' => '' ]
37  * That would break when parsing and doing strstr '' => 'foo';
38  */
39  return $this->formatNumNoSeparators( $number );
40  }
41 
42 }
Khmer (ភាសាខ្មែរ)
Definition: LanguageKm.php:27
formatNum( $number, $noSeparators=null)
Definition: LanguageKm.php:34
Base class for language-specific code.
Definition: Language.php:54
formatNumNoSeparators( $number)
Front-end for non-commafied formatNum.
Definition: Language.php:3365