Пример #1
0
 /**
  * Returns true when a cache is set
  *
  * @return boolean
  */
 public static function hasCache()
 {
     return Zend_Locale_Data::hasCache();
 }
Пример #2
0
 /**
  * Returns true when a cache is set
  *
  * @return boolean
  */
 public static function hasCache()
 {
     require_once 'Zend/Locale/Data.php';
     return Zend_Locale_Data::hasCache();
 }
Пример #3
0
 /**
  * @group GH-363
  */
 public function testZendLocaleDisableCacheShouldNotOverwritten()
 {
     Zend_Locale::disableCache(true);
     $value = Zend_Locale_Format::getDate('2014-01-01');
     $this->assertFalse(Zend_Locale_Data::hasCache());
 }
Пример #4
0
 /**
  * Returns true when a cache is set
  *
  * @return boolean
  */
 public static function hasCache()
 {
     require_once PHP_LIBRARY_PATH . 'Zend/Locale/Data.php';
     return Zend_Locale_Data::hasCache();
 }
Пример #5
0
 /**
  * Returns true when a cache is set
  *
  * @return boolean
  */
 public static function hasCache()
 {
     //$1 'Zend/Locale/Data.php';
     return Zend_Locale_Data::hasCache();
 }