Lines Matching refs:index
22 function offsetExists($index) {
23 echo __METHOD__ . "($this->element, $index)\n";
24 return array_key_exists($index, $this->oarray[$this->element]);
27 function offsetGet($index) {
28 echo __METHOD__ . "($this->element, $index)\n";
29 …return isset($this->oarray[$this->element][$index]) ? $this->oarray[$this->element][$index] : NULL;
32 function offsetSet($index, $value) {
33 echo __METHOD__ . "($this->element, $index, $value)\n";
34 $this->oarray[$this->element][$index] = $value;
37 function offsetUnset($index) {
38 echo __METHOD__ . "($this->element, $index)\n";
39 unset($this->oarray[$this->element][$index]);
52 function offsetExists($index)
54 return array_key_exists($index, $this->person);
57 function offsetGet($index)
59 if (is_array($this->person[$index]))
61 return new ArrayAccessReferenceProxy($this, $this->person, $index);
65 return $this->person[$index];
69 function offsetSet($index, $value)
71 $this->person[$index] = $value;
74 function offsetUnset($index)
76 unset($this->person[$index]);