eZ Publish Community Project (Legacy Stack) 2013.4
Class

eZLocale

class eZLocale

Constants

DEBUG_INTERNALS

Properties

$IsValid
$DateFormat
$ShortDateFormat
$TimeFormat
$ShortTimeFormat
$MondayFirst
$AM
$PM
$DecimalSymbol
$ThousandsSeparator
$FractDigits
$NegativeSymbol
$PositiveSymbol
$CurrencyDecimalSymbol
$CurrencyThousandsSeparator
$CurrencyFractDigits
$CurrencyNegativeSymbol
$CurrencyPositiveSymbol
$CurrencySymbol
$CurrencyPositiveFormat
$CurrencyNegativeFormat
$DayNames
$ShortDayNames
$LongDayNames
$MonthNames
$ShortMonthNames
$LongMonthNames
$WeekDays
$Months
$ShortWeekDayNames
$LongWeekDayNames
$TimeArray
$DateArray
$TimePHPArray
$DatePHPArray
$Country
$CountryCode
$CountryVariation
$CountryComment
$LanguageComment
$LocaleINI
$CountryINI
$LanguageINI
$LanguageCode
$LanguageName
$IntlLanguageName
$CountryNames

Methods

eZLocale($localeString)

reset()

isValid()

initCountry($countryINI)

initLanguage($languageINI)

localeInformation($localeString)

initPHP($charset = false)

attributes()

hasAttribute($attribute)

attribute($attribute)

attributeFunctionMap()

charset()

allowedCharsets()

countryName()

countryComment()

countryCode()

countryVariation()

languageCode()

languageComment()

localeCode()

localeFullCode()

httpLocaleCode()

languageName()

internationalLanguageName()

currencySymbol()

currencyName()

currencyShortName()

isMondayFirst()

decimalSymbol()

thousandsSeparator()

decimalCount()

negativeSymbol()

positiveSymbol()

currencyDecimalSymbol()

currencyThousandsSeparator()

currencyDecimalCount()

currencyNegativeSymbol()

currencyPositiveSymbol()

weekDays()

months()

monthsNames()

weekDayNames($short = false)

weekDayShortNames()

getFormattingFunction($qualifier)

formatTime($time = false)

formatShortTime($time = false)

formatTimeType($fmt, $time = false)

meridiemName($time = false, $upcase = false)

formatDate($date = false)

formatShortDate($date = false)

formatDateTime($date = false)

formatShortDateTime($date = false)

formatDateType($fmt, $date = false)

formatDateTimeType($fmt, $datetime = false)

formatNumber($number)

internalNumber($number)

formatCurrency($number, $as_html = true)

formatCleanCurrency($number)

formatCurrencyWithSymbol($number, $symbol)

translatedCountryNames()

internalCurrency($number)

shortDayName($num)

longDayName($num)

shortMonthName($num)

longMonthName($num)

localeFile($withVariation = false)

countryFile($withVariation = false)

languageFile($withVariation = false)

Details

at line 118
public eZLocale($localeString)

Parameters

$localeString

at line 248
public reset()

at line 314
public isValid()

at line 322
public initCountry($countryINI)

Parameters

$countryINI

at line 361
public initLanguage($languageINI)

Parameters

$languageINI

at line 471
public localeInformation($localeString)

Parameters

$localeString

at line 515
public initPHP($charset = false)

Parameters

$charset

at line 522
public attributes()

at line 527
public hasAttribute($attribute)

Parameters

$attribute

at line 536
public attribute($attribute)

Parameters

$attribute

at line 557
public attributeFunctionMap()

at line 598
public charset()

at line 606
public allowedCharsets()

at line 614
public countryName()

at line 622
public countryComment()

at line 630
public countryCode()

at line 638
public countryVariation()

at line 646
public languageCode()

at line 654
public languageComment()

at line 663
public localeCode()

at line 671
public localeFullCode()

at line 686
public httpLocaleCode()

at line 717
public languageName()

at line 725
public internationalLanguageName()

at line 733
public currencySymbol()

at line 741
public currencyName()

at line 749
public currencyShortName()

at line 758
public isMondayFirst()

at line 766
public decimalSymbol()

at line 774
public thousandsSeparator()

at line 782
public decimalCount()

at line 790
public negativeSymbol()

at line 798
public positiveSymbol()

at line 806
public currencyDecimalSymbol()

at line 814
public currencyThousandsSeparator()

at line 822
public currencyDecimalCount()

at line 830
public currencyNegativeSymbol()

at line 838
public currencyPositiveSymbol()

at line 848
public weekDays()

at line 857
public months()

at line 866
public monthsNames()

at line 874
public weekDayNames($short = false)

Parameters

$short

at line 892
public weekDayShortNames()

at line 900
public getFormattingFunction($qualifier)

Parameters

$qualifier

at line 931
public formatTime($time = false)

Parameters

$time

at line 940
public formatShortTime($time = false)

Parameters

$time

at line 950
public formatTimeType($fmt, $time = false)

Parameters

$fmt
$time

at line 970
public meridiemName($time = false, $upcase = false)

Parameters

$time
$upcase

at line 985
public formatDate($date = false)

Parameters

$date

at line 994
public formatShortDate($date = false)

Parameters

$date

at line 1003
public formatDateTime($date = false)

Parameters

$date

at line 1012
public formatShortDateTime($date = false)

Parameters

$date

at line 1022
public formatDateType($fmt, $date = false)

Parameters

$fmt
$date

at line 1047
public formatDateTimeType($fmt, $datetime = false)

Parameters

$fmt
$datetime

at line 1142
public formatNumber($number)

Parameters

$number

at line 1153
public internalNumber($number)

Parameters

$number

at line 1172
public formatCurrency($number, $as_html = true)

Parameters

$number
$as_html

at line 1182
public formatCleanCurrency($number)

Parameters

$number

at line 1188
public formatCurrencyWithSymbol($number, $symbol)

Parameters

$number
$symbol

at line 1201
public translatedCountryNames()

at line 1209
public internalCurrency($number)

Parameters

$number

at line 1236
public shortDayName($num)

Parameters

$num

at line 1263
public longDayName($num)

Parameters

$num

at line 1295
public shortMonthName($num)

Parameters

$num

at line 1327
public longMonthName($num)

Parameters

$num

at line 1441
public localeFile($withVariation = false)

Parameters

$withVariation

at line 1472
public countryFile($withVariation = false)

Parameters

$withVariation

at line 1500
public languageFile($withVariation = false)

Parameters

$withVariation