public function fastcacheitem::__construct in Drupal driver for SQL Server and SQL Azure 7.2
Same name and namespace in other branches
- 7.3 sqlsrv/fastcacheitem.inc \fastcacheitem::__construct()
Construct with a DrupalCacheInterface object that comes from a real cache storage.
File
- sqlsrv/
fastcacheitem.inc, line 19 - fastcacheitem Class.
Class
- fastcacheitem
- @file fastcacheitem Class.
Code
public function __construct($binary, $cache = NULL) {
if (isset($cache)) {
$this->data = $cache->data;
}
else {
$this->data = array();
}
$this->bin = $binary;
}