00001 <?php
00002
00003
00004
00005
00006
00007
00008
00009
00010
00022 class PEIP_Array_Access implements ArrayAccess {
00023
00024 protected $values = array();
00025
00026
00027
00033 public function offsetExists($offset){
00034 return array_key_exists($name, $this->values);
00035 }
00036
00037
00043 public function offsetGet($offset){
00044 return array_key_exists($name, $this->values) ? $this->values[$offset] : NULL;
00045 }
00046
00047
00053 public function offsetUnset($name){
00054 unset($this->values[$offset]);
00055 }
00056
00057
00064 public function offsetSet($offset, $value){
00065 $this->values[$offset] = $value;
00066 }
00067
00068 }