예제 #1
0
 /**
  * Returns true when a cache is set
  *
  * @return boolean
  */
 public static function hasCache()
 {
     return Zend_Locale_Data::hasCache();
 }
예제 #2
0
파일: Locale.php 프로젝트: bizanto/Hooked
 /**
  * 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
파일: Locale.php 프로젝트: netixx/Stock
 /**
  * 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();
 }