25 $this->accessed[$index] =
true;
26 return parent::offsetGet($index);
43 $this->accessed = array();
resetAccessed()
Resets the access array.
offsetGet($index)
Retrieves a value, and logs the access.
This is in almost every respect equivalent to an array except that it keeps track of which keys were ...
getAccessed()
Returns a lookup array of all array indexes that have been accessed.