You are here

function PMPAPIDrupal::cacheClear in Public Media Platform API Integration 7

Clears a cache value.

Parameters

string $key: The key of the cached value

File

classes/PMPAPIDrupal.php, line 295
Defines a class for PMP creation/transmission and retreival/parsing

Class

PMPAPIDrupal
@file

Code

function cacheClear($key) {
  if ($this->cache) {
    cache_clear_all($key, $this->cache_bin);
  }
}