Moodle PHP Documentation 5.1
Moodle 5.1dev (Build: 20250620) (7d9030acd6e)
core_cache\searchable_cache_interface Interface Reference
Inheritance diagram for core_cache\searchable_cache_interface:
cachestore_file cachestore_redis cachestore_session

Public Member Functions

 find_all ()
 Finds all of the keys being used by the cache store.
 
 find_by_prefix ($prefix)
 Finds all of the keys whose keys start with the given prefix.
 

Member Function Documentation

◆ find_all()

core_cache\searchable_cache_interface::find_all ( )

Finds all of the keys being used by the cache store.

Return values
array.

Implemented in cachestore_file, cachestore_redis, and cachestore_session.

◆ find_by_prefix()

core_cache\searchable_cache_interface::find_by_prefix ( $prefix)

Finds all of the keys whose keys start with the given prefix.

Parameters
string$prefix

Implemented in cachestore_file, cachestore_redis, and cachestore_session.


The documentation for this interface was generated from the following file: