Locale data reader, handles the CLDR
category | Zend |
---|---|
package | Zend_Locale |
subpackage | Data |
copyright | Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) |
license | New BSD License |
clearCache() : void
disableCache(boolean $flag)
boolean
getCache() : \Zend_Cache_Core
\Zend_Cache_Core
The set cachegetContent(string $locale, string $path, boolean|string $value = false
) : string
string
string
boolean
string
\Zend_Locale_Exception |
---|
string
getList(string $locale, string $path, boolean|string $value = false
) : array
string
string
boolean
string
\Zend_Locale_Exception |
---|
array
hasCache() : boolean
boolean
removeCache() : void
setCache(\Zend_Cache_Core $cache)
\Zend_Cache_Core
A cache frontend
_filterCacheId(string $value) : string
string
string
_calendarDetail(string $locale, array $list) : string
string
Locale for Detaildata
array
List to search
string
Key for Detaildata_checkLocale(string|\Zend_Locale $locale) : string
string
\Zend_Locale
Locale to check
\Zend_Locale_Exception |
---|
string
_findRoute(string $locale, string $path, string $attribute, string $value, array $temp) : boolean
string
string
string
string
array
\Zend_Locale_Exception |
---|
boolean
_getFile(string $locale, string $path, string|boolean $attribute= false
, string|boolean $value= false
, array $temp= array()
) : array
string
string
string
boolean
string
boolean
array
\Zend_Locale_Exception |
---|
array
_getTagSupportForCache() : boolean
boolean
_readFile(string $locale, string $path, string $attribute, string $value, $temp) : array
Can be called like:
Case 1: _readFile('ar','/ldml/delimiter') -> returns [] = test Case 1: _readFile('ar','/ldml/second[@type=myone]') -> returns [] = content Case 2: _readFile('ar','/ldml/second','type') -> returns [myone] = content; [mysecond] = content2 Case 3: _readFile('ar','/ldml/delimiter',,'right') -> returns [right] = test Case 4: _readFile('ar','/ldml/third','type','myone') -> returns [myone] = mythird
access | private |
---|
string
string
string
string
array
$_cache : \Zend_Cache_Core
null
$_cacheDisabled : boolean
false
$_cacheTags : boolean
false
$_ldml : array
array()
$_list : array
array()