Lines Matching refs:key
37 public function write($key, $data) argument
39 if (!isset($this->store[$key])) $this->store[$key] = $data;
40 else $this->store[$key] .= $data;
46 public function clear($key) argument
48 $this->store[$key] = null;
49 unset($this->store[$key]);
56 public function has($key) argument
58 return array_key_exists($key, $this->store);
66 public function read($key, $size=null) argument
68 if (!$this->has($key)) return false;
70 if ($this->requested == $key)
75 $this->requested = $key;
76 return $this->store[$key];