Lines Matching refs:element
10 function proxyGet($element);
11 function proxySet($element, $index, $value);
12 function proxyUnset($element, $index);
18 private $element;
20 function __construct(ArrayProxyAccess $object, $element)
22 echo __METHOD__ . "($element)\n";
23 if (!$object->offsetExists($element))
25 $object[$element] = array();
28 $this->element = $element;
32 echo __METHOD__ . "($this->element, $index)\n";
33 return array_key_exists($index, $this->object->proxyGet($this->element));
37 echo __METHOD__ . "($this->element, $index)\n";
38 $tmp = $this->object->proxyGet($this->element);
43 echo __METHOD__ . "($this->element, $index, $value)\n";
44 $this->object->proxySet($this->element, $index, $value);
48 echo __METHOD__ . "($this->element, $index)\n";
49 $this->object->proxyUnset($this->element, $index);
82 function proxyGet($element)
84 return $this->person[$element];
87 function proxySet($element, $index, $value)
89 $this->person[$element][$index] = $value;
92 function proxyUnset($element, $index)
94 unset($this->person[$element][$index]);
144 ["element":"ArrayProxy":private]=>
179 ["element":"ArrayProxy":private]=>