| 
    Moodle PHP Documentation 4.1
    
   Moodle 4.1dev (Build: 20220512) (5e5e12e0) 
   | 
 
Cache store feature: keys are searchable. More...
  
Public Member Functions | |
| find_all () | |
| Finds all of the keys being used by the cache store.  More... | |
| find_by_prefix ($prefix) | |
| Finds all of the keys whose keys start with the given prefix.  More... | |
Cache store feature: keys are searchable.
Cache stores can choose to implement this interface. In order for a store to be usable as a session cache it must implement this interface.
| cache_is_searchable::find_all | ( | ) | 
Finds all of the keys being used by the cache store.
| array. | 
Implemented in cachestore_file, cachestore_redis, cachestore_session, and cachestore_static.
| cache_is_searchable::find_by_prefix | ( | $prefix | ) | 
Finds all of the keys whose keys start with the given prefix.
| string | $prefix | 
Implemented in cachestore_file, cachestore_redis, cachestore_session, and cachestore_static.