Exemple #1
0
 /**
  * Sets the default metadata cache for information returned by Zend_Db_Adapter_Abstract::describeTable().
  *
  * If $defaultMetadataCache is null, then no metadata cache is used by default.
  *
  * @param  mixed $metadataCache Either a Cache object, or a string naming a Registry key
  * @return void
  */
 public static function setDefaultMetadataCache($metadataCache = null)
 {
     self::$_defaultMetadataCache = self::_setupMetadataCache($metadataCache);
 }
 /**
  * Sets the default metadata cache for information returned by Zend_Db_Adapter_Abstract::describeTable().
  *
  * If $defaultMetadataCache is null, then no metadata cache is used by default.
  *
  * @param  Zend_Cache_Core $defaultMetadataCache
  * @return void
  */
 public static function setDefaultMetadataCache(Zend_Cache_Core $defaultMetadataCache = null)
 {
     self::$_defaultMetadataCache = $defaultMetadataCache;
 }