You are here

public function RestfulStaticCacheController::clear in RESTful 7

Clear a particular cache value.

Parameters

string $cid: The cache ID to clear.

Overrides RestfulStaticCacheControllerInterface::clear

1 call to RestfulStaticCacheController::clear()
RestfulStaticCacheController::clearAll in includes/RestfulStaticCacheController.php
Clear all registered cache values.

File

includes/RestfulStaticCacheController.php, line 50
Contains RestfulStaticCacheController

Class

RestfulStaticCacheController
@file Contains RestfulStaticCacheController

Code

public function clear($cid) {
  drupal_static_reset($this->prefix . $cid);
}