@@ -42,24 +42,21 @@ class Zend_Locale_Data
42
42
/**
43
43
* Locale files
44
44
*
45
- * @var ressource
46
- * @access private
45
+ * @var array
47
46
*/
48
47
private static $ _ldml = array ();
49
48
50
49
/**
51
50
* List of values which are collected
52
51
*
53
52
* @var array
54
- * @access private
55
53
*/
56
54
private static $ _list = array ();
57
55
58
56
/**
59
57
* Internal cache for ldml values
60
58
*
61
59
* @var Zend_Cache_Core
62
- * @access private
63
60
*/
64
61
private static $ _cache = null ;
65
62
@@ -73,8 +70,7 @@ class Zend_Locale_Data
73
70
/**
74
71
* Internal option, cache disabled
75
72
*
76
- * @var boolean
77
- * @access private
73
+ * @var boolean
78
74
*/
79
75
private static $ _cacheDisabled = false ;
80
76
@@ -147,8 +143,8 @@ private static function _readFile($locale, $path, $attribute, $value, $temp)
147
143
* @param string $attribute
148
144
* @param string $value
149
145
* @param array $temp
146
+ * @return bool
150
147
* @throws Zend_Locale_Exception
151
- * @access private
152
148
*/
153
149
private static function _findRoute ($ locale , $ path , $ attribute , $ value , &$ temp )
154
150
{
@@ -223,11 +219,13 @@ private static function _findRoute($locale, $path, $attribute, $value, &$temp)
223
219
/**
224
220
* Read the right LDML file
225
221
*
226
- * @param string $locale
227
- * @param string $path
228
- * @param string $attribute
229
- * @param string $value
230
- * @access private
222
+ * @param string $locale
223
+ * @param string $path
224
+ * @param string|bool $attribute
225
+ * @param string|bool $value
226
+ * @param array $temp
227
+ * @return array
228
+ * @throws Zend_Locale_Exception
231
229
*/
232
230
private static function _getFile ($ locale , $ path , $ attribute = false , $ value = false , $ temp = array ())
233
231
{
@@ -278,8 +276,9 @@ private static function _calendarDetail($locale, $list)
278
276
/**
279
277
* Internal function for checking the locale
280
278
*
281
- * @param string|Zend_Locale $locale Locale to check
279
+ * @param string|Zend_Locale $locale Locale to check
282
280
* @return string
281
+ * @throws Zend_Locale_Exception
283
282
*/
284
283
private static function _checkLocale ($ locale )
285
284
{
@@ -302,11 +301,11 @@ private static function _checkLocale($locale)
302
301
/**
303
302
* Read the LDML file, get a array of multipath defined value
304
303
*
305
- * @param string $locale
306
- * @param string $path
307
- * @param string $value
304
+ * @param string $locale
305
+ * @param string $path
306
+ * @param bool| string $value
308
307
* @return array
309
- * @access public
308
+ * @throws Zend_Locale_Exception
310
309
*/
311
310
public static function getList ($ locale , $ path , $ value = false )
312
311
{
@@ -952,11 +951,11 @@ public static function getList($locale, $path, $value = false)
952
951
/**
953
952
* Read the LDML file, get a single path defined value
954
953
*
955
- * @param string $locale
956
- * @param string $path
957
- * @param string $value
954
+ * @param string $locale
955
+ * @param string $path
956
+ * @param bool| string $value
958
957
* @return string
959
- * @access public
958
+ * @throws Zend_Locale_Exception
960
959
*/
961
960
public static function getContent ($ locale , $ path , $ value = false )
962
961
{
@@ -1557,7 +1556,7 @@ public static function clearCache()
1557
1556
/**
1558
1557
* Disables the cache
1559
1558
*
1560
- * @param unknown_type $flag
1559
+ * @param bool $flag
1561
1560
*/
1562
1561
public static function disableCache ($ flag )
1563
1562
{
@@ -1567,7 +1566,7 @@ public static function disableCache($flag)
1567
1566
/**
1568
1567
* Internal method to check if the given cache supports tags
1569
1568
*
1570
- * @param Zend_Cache $cache
1569
+ * @return bool
1571
1570
*/
1572
1571
private static function _getTagSupportForCache ()
1573
1572
{
0 commit comments