Zend Framework  1.12
Static Public Member Functions | List of all members
Zend_Locale_Data Class Reference

Static Public Member Functions

static getList ($locale, $path, $value=false)
 Read the LDML file, get a array of multipath defined value.
 
static getContent ($locale, $path, $value=false)
 Read the LDML file, get a single path defined value.
 
static getCache ()
 Returns the set cache.
 
static setCache (Zend_Cache_Core $cache)
 Set a cache for Zend_Locale_Data.
 
static hasCache ()
 Returns true when a cache is set.
 
static removeCache ()
 Removes any set cache.
 
static clearCache ()
 Clears all set cache data.
 
static disableCache ($flag)
 Disables the cache.
 

Member Function Documentation

static clearCache ( )
static

Clears all set cache data.

Returns
void
static disableCache (   $flag)
static

Disables the cache.

Parameters
unknown_type$flag
static getCache ( )
static

Returns the set cache.

Returns
Zend_Cache_Core The set cache
static getContent (   $locale,
  $path,
  $value = false 
)
static

Read the LDML file, get a single path defined value.

Parameters
string$locale
string$path
string$value
Returns
string public
static getList (   $locale,
  $path,
  $value = false 
)
static

Read the LDML file, get a array of multipath defined value.

Parameters
string$locale
string$path
string$value
Returns
array public
static hasCache ( )
static

Returns true when a cache is set.

Returns
boolean
static removeCache ( )
static

Removes any set cache.

Returns
void
static setCache ( Zend_Cache_Core  $cache)
static

Set a cache for Zend_Locale_Data.

Parameters
Zend_Cache_Core$cacheA cache frontend