\ArrayAccess - get array value from object

@param mixed $offset

@return string|bool
549796
public function offsetGet($offset)
    {
      // return false if $_FILES['key'] isn't found
      if (!isset($this->_files[$offset])) {
        $this->error = sprintf($this->commonUploadErrors[$this->language]['ERROR_02'], $offset);
        return false;
      }

      $this->_files = $this->_files[$offset];

      // check for common upload errors
      if (isset($this->_files['error'])) {
        $this->error = $this->commonUploadErrors[$this->language][$this->_files['error']];
      }

      return true;
    }
821486
public function get(string $offset)
    {
        return isset($this->attributes[$offset]) ? $this->attributes[$offset] : '';
    }
859890
public function offsetGet($offset)
    {
        if(!parent::offsetExists($offset))
        {
            if($result = apc_fetch($this->getNamespace().'-class_'.$offset)) {
                parent::offsetSet($offset, $result);
            }
        }
        else $result = parent::offsetGet($offset);

        return $result;
    }
1021742
public function offsetGet ($offset)
    {
        return isset($this->datumData[$offset]) ? $this->datumData[$offset] : false;
    }
179062
public function offsetGet($offset)
    {
        if ($this->offsetExists($offset)) {
            foreach ($this->getInnerIterator() as $k => $v) {
                if ($k === $offset) {
                    return $v;
                }
            }
        }

        return null;
    }
1316620
public function offsetGet($offset)
    {
        return isset($this->attributes[$offset])
            ? $this->attributes[$offset]
            : null;
    }
552430
public function offsetGet($offset = null)
    {
        return isset($this->properties[$offset]) ? $this->properties[$offset] : null;
    }
300690
public function offsetGet($offset)
    {
        return isset($this->chunks[$offset]) ? $this->chunks[$offset] : null;
    }
1213234
public function offsetGet($offset) 
    {
        //argument 1 must be scalar, null or bool
        Eden_Array_Argument::i()->test(1, 'scalar', 'null', 'bool');

        return isset($this->data[$offset]) ? $this->data[$offset] : null;
    }
634970
public function offsetGet($offset)
    {
        return isset($this->records[$offset]) ? $this->records[$offset] : null;
    }
888255
private function doRemove($offset, $arrayAccess)
    {
        $this->initialize();
        if ($arrayAccess) {
            $this->coll->offsetUnset($offset);
            $removed = true;
        } else {
            $removed = $this->coll->remove($offset);
        }

        if (! $removed && ! $arrayAccess) {
            return $removed;
        }

        $this->changed();

        return $removed;
    }
965614
public function offsetGet($offset)
    {
        if (!parent::offsetExists($offset)) {
            $this[$offset] = new static(array(), $this->getFlags(), $this->getIteratorClass());
        }

        return parent::offsetGet($offset);
    }
332484
protected function & getArrayByReference(&$offset)
    {
        $offset = explode(self::SEPARATOR, $offset);

        if (count($offset) > 1) {
            $arr = &$this->getFromArray($this->storage, array_slice($offset, 0, -1), false);
        } else {
            $arr = &$this->storage;
        }

        $offset = array_slice($offset, -1);
        $offset = reset($offset);

        return $arr;
    }
268120
public function offsetGet($offset)
    {
        // Get name of the method, the class should have. Like "getText"
        $method = Text::camelCase("get $offset");

        // If it exists, call it and return its return value
        if (method_exists($this, $method)) {
            return $this->{$method}();
        }

        // If not return the data from the array after checking it is set
        return isset($this->container[$offset]) ? $this->container[$offset] : null;
    }
387404
protected function retrieveObject($offset)
    {
        $queryForRetrieve = clone $this->getQuery();
        $queryForRetrieve
            ->setFirstResult($offset - 1)
            ->setMaxResults(1);

        $results = $queryForRetrieve->execute();

        return $results[0];
    }
379918
public function offsetGet($offset)
    {
        // Support implicit/lazy parsing
        $this->parseIfNotParsed();
        if (!isset($this->options[$offset])) {
            return null; // follows normal php convention
        }
        return $this->options[$offset]->getValue();
    }
1268432
public function offsetGet($offset)
    {
        if (!isset($this->response[$offset])) {
            throw new \InvalidArgumentException("Property \"$offset\" not found");
        }

        return $this->response[$offset];
    }