Merge branch 'MDL-39473-master' of git://github.com/sammarshallou/moodle

This commit is contained in:
Dan Poltawski 2013-05-06 14:32:33 +01:00
commit 2da94da7b5
5 changed files with 55 additions and 0 deletions

View File

@ -195,6 +195,17 @@ class cachestore_file extends cache_store implements cache_is_key_aware, cache_i
return $supported;
}
/**
* Returns false as this store does not support multiple identifiers.
* (This optional function is a performance optimisation; it must be
* consistent with the value from get_supported_features.)
*
* @return bool False
*/
public function supports_multiple_identifiers() {
return false;
}
/**
* Returns the supported modes as a combined int.
*

View File

@ -181,6 +181,17 @@ class cachestore_memcache extends cache_store implements cache_is_configurable {
return self::SUPPORTS_NATIVE_TTL;
}
/**
* Returns false as this store does not support multiple identifiers.
* (This optional function is a performance optimisation; it must be
* consistent with the value from get_supported_features.)
*
* @return bool False
*/
public function supports_multiple_identifiers() {
return false;
}
/**
* Returns the supported modes as a combined int.
*

View File

@ -205,6 +205,17 @@ class cachestore_memcached extends cache_store implements cache_is_configurable
return self::SUPPORTS_NATIVE_TTL;
}
/**
* Returns false as this store does not support multiple identifiers.
* (This optional function is a performance optimisation; it must be
* consistent with the value from get_supported_features.)
*
* @return bool False
*/
public function supports_multiple_identifiers() {
return false;
}
/**
* Returns the supported modes as a combined int.
*

View File

@ -141,6 +141,17 @@ class cachestore_session extends session_data_store implements cache_is_key_awar
self::IS_SEARCHABLE;
}
/**
* Returns false as this store does not support multiple identifiers.
* (This optional function is a performance optimisation; it must be
* consistent with the value from get_supported_features.)
*
* @return bool False
*/
public function supports_multiple_identifiers() {
return false;
}
/**
* Returns the supported modes as a combined int.
*

View File

@ -136,6 +136,17 @@ class cachestore_static extends static_data_store implements cache_is_key_aware
self::SUPPORTS_NATIVE_TTL;
}
/**
* Returns false as this store does not support multiple identifiers.
* (This optional function is a performance optimisation; it must be
* consistent with the value from get_supported_features.)
*
* @return bool False
*/
public function supports_multiple_identifiers() {
return false;
}
/**
* Returns the supported modes as a combined int.
*