You are here

public function fastcacheitem::data_get in Drupal driver for SQL Server and SQL Azure 7.2

Same name and namespace in other branches
  1. 7.3 sqlsrv/fastcacheitem.inc \fastcacheitem::data_get()

Retrieve a value from cache.

Parameters

mixed $key:

Return value

bool|stdClass

File

sqlsrv/fastcacheitem.inc, line 63
fastcacheitem Class.

Class

fastcacheitem
@file fastcacheitem Class.

Code

public function data_get($key) {
  if (isset($this->data[$key])) {
    return $this->data[$key];
  }
  return FALSE;
}