Lines Matching refs:key
34 function setVar($key, $value) argument
36 if(!isset($key) || !isset($value)) return false;
37 $this->sessionVars[$key] = $value;
38 if(!isset($this->sessionVars[$key]))
45 function getVar($key) argument
47 if(isset($this->sessionVars[$key]))
48 return $this->sessionVars[$key];
52 function delVar($key) argument
54 if(isset($this->sessionVars[$key]))
55 unset($this->sessionVars[$key]);
58 function issetVar($key) argument
60 if(isset($this->sessionVars[$key])) return true;
73 foreach($this->sessionVars as $key => $value)
75 if(preg_match("/^$prefix(.*)/", $key, $matches))
85 foreach($row as $key => $value)
91 if(!$this->setVar($prefix . '_' . $key, $value))
96 if(!$this->setVar($key, $value))
106 foreach($this->sessionVars as $key => $value)
108 if(preg_match("/^$prefix/", $key))
109 $this->delVar($key);