You are here

function cache_clear_all in APC - Alternative PHP Cache 5

Same name and namespace in other branches
  1. 6 apc.inc \cache_clear_all()

File

./apc.inc, line 66

Code

function cache_clear_all($cid = NULL, $bin = NULL, $wildcard = FALSE) {
  $table = empty($table) ? 'cache' : $table;
  if (empty($cid)) {
    apc_handle_flush($table);
  }
  else {
    apc_handle_delete($cid, $table);
  }
}