MediaWiki  REL1_19
LanguageKu_ku.php
Go to the documentation of this file.
00001 <?php
00002 
00007 class LanguageKu_ku extends Language {
00008 
00016         function commafy( $_ ) {
00017 
00018                 if ( !preg_match( '/^\d{1,4}$/', $_ ) ) {
00019                         return strrev( (string)preg_replace( '/(\d{3})(?=\d)(?!\d*\.)/', '$1,', strrev( $_ ) ) );
00020                 } else {
00021                         return $_;
00022                 }
00023         }
00024 }