Lines Matching refs:index
11 function proxySet($element, $index, $value);
12 function proxyUnset($element, $index);
31 function offsetExists($index) {
32 echo __METHOD__ . "($this->element, $index)\n";
33 return array_key_exists($index, $this->object->proxyGet($this->element));
36 function offsetGet($index) {
37 echo __METHOD__ . "($this->element, $index)\n";
39 return isset($tmp[$index]) ? $tmp[$index] : NULL;
42 function offsetSet($index, $value) {
43 echo __METHOD__ . "($this->element, $index, $value)\n";
44 $this->object->proxySet($this->element, $index, $value);
47 function offsetUnset($index) {
48 echo __METHOD__ . "($this->element, $index)\n";
49 $this->object->proxyUnset($this->element, $index);
62 function offsetExists($index)
64 return array_key_exists($index, $this->person);
67 function offsetGet($index)
69 return new ArrayProxy($this, $index);
72 function offsetSet($index, $value)
74 $this->person[$index] = $value;
77 function offsetUnset($index)
79 unset($this->person[$index]);
87 function proxySet($element, $index, $value)
89 $this->person[$element][$index] = $value;
92 function proxyUnset($element, $index)
94 unset($this->person[$element][$index]);