-
$_automaticSerialization
-
Enable / disable automatic serialization
-
$_cacheDir
-
Directory where to put the cache files (make sure to add a trailing slash)
-
$_caching
-
Enable / disable caching
-
$_file
-
File name (with path)
-
$_fileLocking
-
Enable / disable fileLocking
-
$_fileNameProtection
-
File Name protection
-
$_group
-
Current cache group
-
$_handle
-
file handle
-
$_id
-
Current cache id
-
$_lifeTime
-
Cache lifetime (in seconds)
-
$_memoryCaching
-
Enable / Disable "Memory Caching"
-
$_memoryCachingArray
-
Memory caching array
-
$_memoryCachingCounter
-
Memory caching counter
-
$_memoryCachingLimit
-
Memory caching limit
-
$_onlyMemoryCaching
-
Enable / Disable "Only Memory Caching" (be carefull, memory caching is "beta quality")
-
$_readControl
-
Enable / disable read control
-
$_readControlType
-
Type of read control (only if read control is enabled)
-
$_refreshTime
-
Timestamp of the last valid cache
-
$_writeControl
-
Enable / disable write control (the cache is read just after writing to detect corrupt entries)
-
__construct
-
Constructor.
-
__construct
-
Create a new Translation cache.
-
__construct
-
Constructor.
-
__construct
-
Initializes a new writable instance of the DateTimeFormatInfo class
-
__construct
-
Initialize a new DateFormat.
-
__construct
-
Initializes a new instance of the CultureInfo class based on the culture specified by name. E.g.
-
__construct
-
-
__construct
-
Constructor.
-
__construct
-
Initializes a new writable instance of the NumberFormatInfo class
-
__construct
-
Create a new number format instance. The constructor can be instantiated with a string that represent a culture/locale. Similarly, passing a CultureInfo or NumberFormatInfo instance will instantiated a instance for that particular culture.
-
__construct
-
Constructor.
-
__construct
-
Constructor.
-
__destruct
-
Destructor, close the database connection.
-
__get
-
Allow functions that begins with 'set' to be called directly as an attribute/property to retrieve the value.
-
__get
-
Allow functions that begins with 'set' to be called directly as an attribute/property to retrieve the value.
-
__get
-
Allow functions that begins with 'set' to be called directly as an attribute/property to retrieve the value.
-
__set
-
Allow functions that begins with 'set' to be called directly as an attribute/property to set the value.
-
__set
-
Allow functions that begins with 'set' to be called directly as an attribute/property to set the value.
-
__set
-
Allow functions that begins with 'set' to be called directly as an attribute/property to set the value.
-
__toString
-
Display the culture name.
-
get
-
Test if a cache is available and (if yes) return it
-
get
-
Get the data from the cache.
-
getAbbreviatedDayNames
-
A one-dimensional array of type String containing the culture-specific abbreviated names of the days of the week. The array for InvariantInfo contains "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", and "Sat".
-
getAbbreviatedMonthNames
-
A one-dimensional array of type String containing the culture-specific abbreviated names of the months. The array for InvariantInfo contains "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", and "Dec".
-
getAMDesignator
-
The string designator for hours that are "ante meridiem" (before noon).
-
getAMPM
-
Get the AM/PM designator, 12 noon is PM, 12 midnight is AM.
-
getAMPMMarkers
-
Get the AM and PM markers array.
-
getCache
-
Get the cache handler for this source.
-
getCacheFile
-
-
getCalendar
-
Gets the default calendar used by the culture, e.g. "gregorian".
-
getCatalogueList
-
Get all the variants of a particular catalogue.
-
getCatalogueList
-
Get all the variants of a particular catalogue.
-
getCatalogueList
-
Get all the variants of a particular catalogue.
-
getCatalogueList
-
Get all the variants of a particular catalogue.
-
getCatalogueList
-
Get all the variants of a particular catalogue.
-
getCatalogues
-
Returns a list of catalogue and its culture ID. This takes care of directory structures.
-
getCatalogues
-
Returns a list of catalogue and its culture ID. This takes care of directory structures.
-
getCharset
-
Gets the charset for message output. Default is UTF-8.
-
getCharsets
-
Get a list of charsets acceptable by the client browser.
-
getCountries
-
Get a list of countries in the language of the localized version.
-
getCulture
-
Get the culture identifier for the source.
-
getCulture
-
Get the culture identifier for the source.
-
getCultures
-
Gets the list of supported cultures filtered by the specified culture type. This is an EXPENSIVE function, it needs to traverse a list of ICU files in the data directory.
-
getCurrencies
-
Get a list of currencies in the language of the localized version.
-
getCurrencyInstance
-
Returns the currency format info associated with the specified culture.
-
getCurrencySymbol
-
Gets the string to use as the currency symbol.
-
getData
-
Get the internal ICU data for date time formatting.
-
getData
-
Get the data by unserializing the ICU data from disk.
-
getDateTimeFormat
-
Gets the DateTimeFormatInfo that defines the culturally appropriate format of displaying dates and times.
-
getDateTimeOrderPattern
-
Returns the date time order pattern, "{1} {0}" (default).
-
getDay
-
Get the day of the month.
-
getDayInMonth
-
Get day in the month.
-
getDayInWeek
-
Get the day of the week.
-
getDayInYear
-
Get the day in the year, e.g. [1-366]
-
getDayNames
-
A one-dimensional array of type String containing the culture-specific full names of the days of the week.
-
getDecimalDigits
-
Indicates the number of decimal places.
-
getDecimalSeparator
-
Gets the string to use as the decimal separator.
-
getDigitSize
-
-
getEnglishName
-
Gets the culture name in English.
-
getEra
-
A string containing the name of the era.
-
getEra
-
Get the era. i.e. in gregorian, year > 0 is AD, else BC.
-
getFullDatePattern
-
Returns the full date pattern "EEEE, yyyy MMMM dd" (default).
-
getFullTimePattern
-
Returns the full time pattern "HH:mm:ss z" (default).
-
getFunctionName
-
For a particular token, get the corresponding function to call.
-
getGroup
-
Get the cache file GROUP based section and locale.
-
getGroupSeparator
-
Gets the string that separates groups of digits to the left of the decimal in currency values.
-
getGroupSizes
-
Gets the number of digits in each group to the left of the decimal There can be two grouping sizes, this fucntion returns array(group1, group2), if there is only 1 grouping size, group2 will be false.
-
getHour12
-
Get the hours in 12 hour format.
-
getHour24
-
Get the hours in 24 hour format, i.e. [0-23].
-
getHourInAMPM
-
Get the hours in AM/PM format, e.g [1-12]
-
getHourInDay
-
Get the hours [1-24].
-
getID
-
Get the cache file ID based section and locale.
-
getInstance
-
Returns the NumberFormatInfo associated with the specified culture.
-
getInstance
-
Returns the DateTimeFormatInfo associated with the specified culture.
-
getInvariantCulture
-
Gets the CultureInfo that is culture-independent (invariant).
-
getInvariantInfo
-
Gets the default NumberFormatInfo that is culture-independent (invariant).
-
getInvariantInfo
-
Gets the default DateTimeFormatInfo that is culture-independent (invariant).
-
getIsNeutralCulture
-
Gets a value indicating whether the current CultureInfo represents a neutral culture. Returns true if the culture only contains two characters.
-
getLanguages
-
Get a list of languages in the language of the localized version.
-
getLanguages
-
Get a list of languages acceptable by the client browser
-
getLastModified
-
Get the last modified unix-time for this particular catalogue+variant.
-
getLastModified
-
Get the last modified unix-time for this particular catalogue+variant.
-
getLastModified
-
Get the last modified unix-time for this particular catalogue+variant.
-
getLastModified
-
Get the last modified unix-time for this particular catalogue+variant.
-
getLastModified
-
Get the last modified unix-time for this particular catalogue+variant.
-
getLifeTime
-
Get the cache life time.
-
getLongDatePattern
-
Returns the long date pattern "yyyy MMMM d" (default).
-
getLongTimePattern
-
Returns the long time pattern "HH:mm:ss z" (default).
-
getMediumDatePattern
-
Returns the medium date pattern "yyyy MMMM d" (default).
-
getMediumTimePattern
-
Returns the medium time pattern "HH:mm:ss" (default).
-
getMemoryCachingState
-
-
getMinutes
-
Get the minutes.
-
getMonth
-
Get the month.
-
getMonthNames
-
A one-dimensional array of type String containing the
-
getName
-
Gets the culture name in the format "<languagecode2>_(country/regioncode2)".
-
getNaNSymbol
-
Gets the string that represents the IEEE NaN (not a number) value.
-
getNarrowDayNames
-
A one-dimensional array of type String containing the culture-specific narrow names of the days of the week. The array for InvariantInfo contains "S", "M", "T", "W", "T", "F", and "S".
-
getNarrowMonthNames
-
A one-dimensional array of type String containing the culture-specific narrow names of the months. The array for InvariantInfo contains "J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", and "D".
-
getNativeName
-
Gets the culture name in the language that the culture is set to display. Returns
- array('Language','Country');
'Country' is omitted if the culture is neutral.
-
getNegativeInfinitySymbol
-
Gets the string that represents negative infinity.
-
getNegativePattern
-
Gets the format pattern for negative values.
-
getNegativeSign
-
Gets the string that denotes that the associated number is negative.
-
getNumberFormat
-
Gets the NumberFormatInfo that defines the culturally appropriate format of displaying numbers, currency, and percentage.
-
getParent
-
Gets the CultureInfo that represents the parent culture of the
-
getPattern
-
Get the pattern from DateTimeFormatInfo or some predefined patterns.
-
getPattern
-
-
getPercentageInstance
-
Returns the percentage format info associated with the specified culture.
-
getPercentSymbol
-
Gets the string to use as the percent symbol.
-
getPerMilleSymbol
-
Gets the string to use as the per mille symbol.
-
getPMDesignator
-
The string designator for hours that are "post meridiem" (after noon).
-
getPositiveInfinitySymbol
-
Gets the string that represents positive infinity.
-
getPositivePattern
-
Gets the format pattern for positive values.
-
getPositiveSign
-
Gets the string that denotes that the associated number is positive.
-
getPrePostfix
-
Get the prefix and postfix of a pattern.
-
getScientificInstance
-
Returns the scientific format info associated with the specified culture.
-
getScripts
-
Get a list of scripts in the language of the localized version.
-
getSeconds
-
Get the seconds.
-
getShortDatePattern
-
Returns the short date pattern "yy/MM/dd" (default).
-
getShortTimePattern
-
Returns the short time pattern "HH:mm" (default).
-
getSource
-
Get the source, this could be a filename or database ID.
-
getSource
-
Get the message source.
-
getSource
-
Get the XLIFF file for a specific message catalogue and cultural vairant.
-
getSource
-
Get the MO file for a specific message catalogue and cultural vairant.
-
getTemplate
-
-
getTimeZone
-
Get the timezone from the server machine.
-
getTimeZones
-
Get a list of timezones in the language of the localized version.
-
getTokens
-
Tokenize the pattern. The tokens are delimited by group of similar characters, e.g. 'aabb' will form 2 tokens of 'aa' and 'bb'.
-
getWeekInMonth
-
Get week in the month.
-
getWeekInYear
-
Get the week in the year.
-
getYear
-
Get the year.
-
$source
-
The source of message translations.
-
$source
-
The datasource string, full DSN to the database.
-
$source
-
The message source.
-
$source
-
The SQLite datasource, the filename of the database.
-
$strings
-
strings
-
save
-
Save the list of untranslated blocks to the translation source.
-
save
-
Save the list of untranslated blocks to the translation source.
-
save
-
Save the list of untranslated blocks to the translation source.
-
save
-
Save PO file
-
save
-
Save some data in a cache file
-
save
-
Save the data to cache for the specified section and locale.
-
save
-
Save MO file
-
save
-
Save the list of untranslated blocks to the translation source.
-
save
-
Save the list of untranslated blocks to the translation source.
-
saveMemoryCachingState
-
-
setAbbreviatedDayNames
-
Set the abbreviated day names. The value should be an array of string starting with Sunday and ends in Saturady.
-
setAbbreviatedMonthNames
-
Set the abbreviated month names. The value should be an array of string starting with Jan and ends in Dec.
-
setAMDesignator
-
Set the AM Designator. For example, 'AM'.
-
setAMPMMarkers
-
Set the AM and PM markers array.
-
setCache
-
Set the cache handler for caching the messages.
-
setCharset
-
Sets the charset for message output.
-
setCulture
-
Set the culture for this message source.
-
setCulture
-
Set the culture for the current instance. The culture indentifier must be of the form "<language>_(country/region)".
-
setCulture
-
Set the culture for this particular message source.
-
setCurrencySymbol
-
Set the string to use as the currency symbol.
-
setDateTimeFormat
-
Set the date time format information.
-
setDayNames
-
Set the day names. The value should be an array of string starting with Sunday and ends in Saturady.
-
setDecimalDigits
-
Set the number of decimal places.
-
setDecimalSeparator
-
Set the string to use as the decimal separator.
-
setDigitSize
-
-
setGroupSeparator
-
Set the string to use as the group separator.
-
setGroupSizes
-
Set the number of digits in each group to the left of the decimal.
-
setLifeTime
-
Set the cache life time.
-
setLifeTime
-
Set a new life time
-
setMonthNames
-
Set the month names. The value should be an array of string starting with Janurary and ends in December.
-
setNaNSymbol
-
Set the string that represents the IEEE NaN (not a number) value.
-
setNarrowDayNames
-
Set the narrow day names. The value should be an array of string starting with Sunday and ends in Saturady.
-
setNarrowMonthNames
-
Set the narrow month names. The value should be an array of string starting with J and ends in D.
-
setNegativeInfinitySymbol
-
Set the string that represents negative infinity.
-
setNegativePattern
-
Set the format pattern for negative values.
-
setNegativeSign
-
Set the string that denotes that the associated number is negative.
-
setNumberFormat
-
Set the number format information.
-
setPattern
-
Set the pattern to format against. The default patterns are retrieved from the NumberFormatInfo instance.
-
setPattern
-
Set the pattern for a specific number pattern. The validate patterns
-
setPercentSymbol
-
Set the string to use as the percent symbol.
-
setPerMilleSymbol
-
Set the string to use as the per mille symbol.
-
setPMDesignator
-
Set the PM Designator. For example, 'PM'.
-
setPositiveInfinitySymbol
-
Set the string that represents positive infinity.
-
setPositivePattern
-
Set the format pattern for positive values.
-
setPositiveSign
-
Set the string that denotes that the associated number is positive.
-
setUntranslatedPS
-
Set the prefix and suffix to append to untranslated messages.