public function offsetGet($offset) { while (!array_key_exists($offset, $this->_data) && $this->_populate()) { } if (array_key_exists($offset, $this->_data)) { return $this->_data[$offset]; } return null; }