MediaWiki
REL1_30
LanguagePl.php
Go to the documentation of this file.
1
<?php
29
class
LanguagePl
extends
Language
{
34
function
commafy
( $_ ) {
35
if
( !preg_match(
'/^\-?\d{1,4}(\.\d+)?$/'
, $_ ) ) {
36
return
strrev( (
string
)preg_replace(
'/(\d{3})(?=\d)(?!\d*\.)/'
,
'$1,'
, strrev( $_ ) ) );
37
}
else
{
38
return
$_;
39
}
40
}
41
}
LanguagePl
Polish (polski)
Definition
LanguagePl.php:29
LanguagePl\commafy
commafy( $_)
Definition
LanguagePl.php:34
Language
Internationalisation code.
Definition
Language.php:35
languages
classes
LanguagePl.php
Generated on Mon Nov 25 2024 15:43:07 for MediaWiki by
1.10.0