RvTwoClasses
[
class tree: RvTwoClasses
] [
index: RvTwoClasses
] [
all elements
]
Todo List
Packages:
Controllers
DDMS
Models
RvTwoClasses
Source for file localeSettings.php
Documentation is available at
localeSettings.php
<?php
/**
* <b>Class Description</b>: Class representing the locale specific system configuration settings
*
*
@since
: 29/04/2009
*
@author
Jan van der Breggen
*
@package
RvTwoClasses
*
***/
class
localeSettings
{
private
$countryCode
;
private
$countryIsoCode
;
private
$countryPrintLabel
;
private
$currencySign
;
private
$thousandsSeparator
;
private
$decimalSeparator
;
private
$intlCurrencySign
;
private
$defaultLanguage
;
private
$sortListsBy
;
private
$displayListsBy
;
private
$dateFormat
;
function
__construct
(
)
{
}
function
setCurrencySign
(
$sign
)
{
$this
->
currencySign
=
$sign
;
}
function
getCurrencySign
(
)
{
return
$this
->
currencySign
;
}
function
setIntlCurrencySign
(
$sign
)
{
$this
->
intlCurrencySign
=
$sign
;
}
function
getIntlcurrencySign
(
)
{
return
$this
->
intlCurrencySign
;
}
function
setDecimalSeparator
(
$separator
)
{
$this
->
decimalSeparator
=
$separator
;
}
function
getDecimalSeparator
(
)
{
return
$this
->
decimalSeparator
;
}
function
setThousandsSeparator
(
$separator
)
{
$this
->
thousandsSeparator
=
$separator
;
}
function
getThousandsSeparator
(
)
{
return
$this
->
thousandsSeparator
;
}
function
setCurrencyNumberConfig
(
$currSign
,
$intlCurrSign
,
$decimal
,
$thousands
)
{
$this
->
currencySign
=
$currSign
;
$this
->
intlCurrencySign
=
$intlCurrSign
;
$this
->
decimalSeparator
=
$decimal
;
$this
->
thousandsSeparator
=
$thousands
;
}
function
setCountry
(
$code
,
$isoCode
,
$label
)
{
$this
->
countryCode
=
$code
;
$this
->
countryIsoCode
=
$isoCode
;
$this
->
countryPrintLabel
=
$label
;
}
function
getCountryCode
(
)
{
return
$this
->
countryCode
;
}
function
getCountryIsoCode
(
)
{
return
$this
->
countryIsoCode
;
}
function
getCountryLabel
(
)
{
return
$this
->
countryPrintLabel
;
}
}
?>
Documentation generated on Mon, 18 May 2009 11:22:03 +0200 by
phpDocumentor 1.4.1