00001 <?php 00002 00003 /* 00004 * This file is part of the PEIP package. 00005 * (c) 2010 Timo Michna <timomichna/yahoo.de> 00006 * 00007 * For the full copyright and license information, please view the LICENSE 00008 * file that was distributed with this source code. 00009 */ 00010 00024 class PEIP_Store extends PEIP_Array_Access implements PEIP_INF_Store { 00025 00026 00033 public function setValue($key, $value){ 00034 return $this->offsetSet($key, $value); 00035 } 00036 00042 public function getValue($key){ 00043 return $this->offsetGet($key, $value); 00044 } 00045 00046 00052 public function deleteValue($key){ 00053 return $this->offsetUnset($key); 00054 } 00055 00056 00062 public function hasValue($key){ 00063 return $this->offsetExists($key); 00064 } 00065 00066 00079 public function setValues(array $values){ 00080 $this->values = $values; 00081 } 00082 00083 00094 public function getValues(){ 00095 return $this->values; 00096 } 00097 00098 00104 public function addValues(array $values){ 00105 array_merge($this->values, $values); 00106 } 00107 }