lib/ezlocale/classes/ezlocale.php

Show: inherited
Table of Contents

File containing the eZLocale class.

Copyright
Copyright (C) 1999-2011 eZ Systems AS. All rights reserved.  
License
eZ Business Use License Agreement Version 2.0  
Package
lib  
Version
4.6.0  

\eZLocale

Package: lib

File containing the eZLocale class.

Copyright
Copyright (C) 1999-2011 eZ Systems AS. All rights reserved.  
License
eZ Business Use License Agreement Version 2.0  
Version
4.6.0  

Constants

Constant  DEBUG_INTERNALS = false

Properties

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

Methods

methodpublicallowedCharsets( ) : void

methodpublicattribute(  $attribute ) : void

Parameters
Name Type Description
$attribute
methodpublicattributeFunctionMap( ) : void

methodpublicattributes( ) : void

methodpubliccharset( ) : void

methodpubliccountryCode( ) : void

methodpubliccountryComment( ) : void

methodpubliccountryFile(  $withVariation = false ) : void

Parameters
Name Type Description
$withVariation
methodpubliccountryList(  $withVariations = true ) : void
static

Parameters
Name Type Description
$withVariations
methodpubliccountryName( ) : void

methodpubliccountryVariation( ) : void

methodpubliccreate(  $localeString = false ) : void
static

Parameters
Name Type Description
$localeString
methodpubliccurrencyDecimalCount( ) : void

methodpubliccurrencyDecimalSymbol( ) : void

methodpubliccurrencyName( ) : void

methodpubliccurrencyNegativeSymbol( ) : void

methodpubliccurrencyPositiveSymbol( ) : void

methodpubliccurrencyShortName( ) : void

methodpubliccurrencySymbol( ) : void

methodpubliccurrencyThousandsSeparator( ) : void

methodpubliccurrentLocaleCode( ) : void
static

methodpublicdecimalCount( ) : void

methodpublicdecimalSymbol( ) : void

methodpubliceZLocale(  $localeString ) : void

Parameters
Name Type Description
$localeString
methodpublicfetchByHttpLocaleCode(  $httpLocaleCode ) : void
static

Parameters
Name Type Description
$httpLocaleCode
methodpublicformatCleanCurrency(  $number ) : void

Parameters
Name Type Description
$number
methodpublicformatCurrency(  $number,  $as_html = true ) : void

Parameters
Name Type Description
$number
$as_html
methodpublicformatCurrencyWithSymbol(  $number,  $symbol ) : void

Parameters
Name Type Description
$number
$symbol
methodpublicformatDate(  $date = false ) : void

Parameters
Name Type Description
$date
methodpublicformatDateTime(  $date = false ) : void

Parameters
Name Type Description
$date
methodpublicformatDateTimeType(  $fmt,  $datetime = false ) : void

Parameters
Name Type Description
$fmt
$datetime
methodpublicformatDateType(  $fmt,  $date = false ) : void

Parameters
Name Type Description
$fmt
$date
methodpublicformatNumber(  $number ) : void

Parameters
Name Type Description
$number
methodpublicformatShortDate(  $date = false ) : void

Parameters
Name Type Description
$date
methodpublicformatShortDateTime(  $date = false ) : void

Parameters
Name Type Description
$date
methodpublicformatShortTime(  $time = false ) : void

Parameters
Name Type Description
$time
methodpublicformatTime(  $time = false ) : void

Parameters
Name Type Description
$time
methodpublicformatTimeType(  $fmt,  $time = false ) : void

Parameters
Name Type Description
$fmt
$time
methodpublicgetFormattingFunction(  $qualifier ) : void

Parameters
Name Type Description
$qualifier
methodpublichasAttribute(  $attribute ) : void

Parameters
Name Type Description
$attribute
methodpublichttpLocaleCode( ) : void

methodpublicinitCountry(  $countryINI ) : void

Parameters
Name Type Description
$countryINI
methodpublicinitLanguage(  $languageINI ) : void

Parameters
Name Type Description
$languageINI
methodpublicinitPHP(  $charset = false ) : void

Parameters
Name Type Description
$charset
methodpublicinstance( string | false $localeString = false ) : \eZLocale
static

Returns a shared instance of the eZLocale class pr locale string.

If $localeString is not specified the default local string in site.ini is used. Use this instead of newing eZLocale to benefit from speed and unified access. note: Use create() if you need to get a new unique copy you can alter.

Parameters
Name Type Description
$localeString string | false
Returns
Type Description
\eZLocale
methodpublicinternalCurrency(  $number ) : void

Parameters
Name Type Description
$number
methodpublicinternalNumber(  $number ) : void

Parameters
Name Type Description
$number
methodpublicinternationalLanguageName( ) : void

methodpublicisDebugEnabled( ) : void
static

methodpublicisMondayFirst( ) : void

methodpublicisValid( ) : void

methodpubliclanguageCode( ) : void

methodpubliclanguageComment( ) : void

methodpubliclanguageFile(  $withVariation = false ) : void

Parameters
Name Type Description
$withVariation
methodpubliclanguageList(  $withVariations = true ) : void
static

Parameters
Name Type Description
$withVariations
methodpubliclanguageName( ) : void

methodpubliclocaleCode( ) : void

methodpubliclocaleFile(  $withVariation = false ) : void

Parameters
Name Type Description
$withVariation
methodpubliclocaleFullCode( ) : void

methodpubliclocaleInformation(  $localeString ) : void

Parameters
Name Type Description
$localeString
methodpubliclocaleList(  $asObject = false,  $withVariations = true ) : void
static

Parameters
Name Type Description
$asObject
$withVariations
methodpubliclocaleRegexp(  $withVariations = true,  $withCharset = true ) : void
static

Parameters
Name Type Description
$withVariations
$withCharset
methodpubliclongDayName(  $num ) : void

Parameters
Name Type Description
$num
methodpubliclongMonthName(  $num ) : void

Parameters
Name Type Description
$num
methodpublicmeridiemName(  $time = false,  $upcase = false ) : void

Parameters
Name Type Description
$time
$upcase
methodpublicmonths( ) : void

methodpublicmonthsNames( ) : void

methodpublicnegativeSymbol( ) : void

methodpublicpositiveSymbol( ) : void

methodpublicreset( ) : void

methodpublicresetGlobals(  $localeString = false ) : void
static

Parameters
Name Type Description
$localeString
methodpublicsetIsDebugEnabled(  $debug ) : void
static

Parameters
Name Type Description
$debug
methodpublicshortDayName(  $num ) : void

Parameters
Name Type Description
$num
methodpublicshortMonthName(  $num ) : void

Parameters
Name Type Description
$num
methodpublicthousandsSeparator( ) : void

methodpublictransformToPHPFormat(  $fmt,  $allowed ) : void
static

Parameters
Name Type Description
$fmt
$allowed
methodpublictranslatedCountryNames( ) : void

methodpublictranslationCode( ) : void

methodpublicweekDayNames(  $short = false ) : void

Parameters
Name Type Description
$short
methodpublicweekDayShortNames( ) : void

methodpublicweekDays( ) : void

Documentation was generated by DocBlox 0.18.1.