public function RestfulStaticCacheController::set in RESTful 7
Sets the static cache.
Parameters
string $cid: The cache key to use.
mixed $value: The value to set.
Return value
mixed The cached value.
Overrides RestfulStaticCacheControllerInterface::set
File
- includes/
RestfulStaticCacheController.php, line 42 - Contains RestfulStaticCacheController
Class
- RestfulStaticCacheController
- @file Contains RestfulStaticCacheController
Code
public function set($cid, $value) {
$val =& drupal_static($this->prefix . $cid);
$val = $value;
}