Returns the zone at the index $index.

@param int $index

@return \StdClass|null

@throws InvalidArgumentException
503431
public function getZone($index)
    {
        if (false === Numeric::isPositiveInteger($index, false)) {
            throw new InvalidArgumentException('Invalid integer value.');
        }

        if (null !== $zones = $this->getZones()) {
            if ($index < count($zones)) {
                return $zones[$index];
            }
        }

        return;
    }
470493
public function offsetGet($index) {
		if( $this->results === null ){
			$this->results = ($this->query)();
		}
		if( isset($this->results[$index]) ){
			return $this->results[$index];
		}
		return null;
	}
806941
public function get($index)
    {
        if($index > $this->count() || $index <= 0) {
            return null;
        }
        
        $this->rewind();
        while(($index - 1) > 0) {
            $this->next();
            $index = $index - 1;
        }
        
        return $this->current();
        
    }
171694
public function getParamAllClean($index){
        if(isset($this->allParams[$index])){
            return Security::clean_vars($this->allParams[$index]);
        }
        else{
            return NULL;
        }
    }
998751
protected function getIndexer($index)
    {
        if (!isset($this->indexers[$index])) {
            throw new \InvalidArgumentException('Unknown index');
        }

        return $this->container->get($this->indexers[$index]);
    }
461725
public function getOperand($index)
    {
        $operand = $this->getOperandObject($index);
        if ($operand) {
            return $operand->getValue();
        } elseif (is_int($index)) {
            $i = $index - count($this->operands);
            return $i >= 0 && isset($this->additionalOperands[$i]) ? $this->additionalOperands[$i] : null;
        }

        return null;
    }
1016317
public function getAttribute(int $index) : ?Node
    {
        return isset($this->attributes[$index]) ? $this->attributes[$index] : null;
    }
1127335
public function label(int $index)
    {
        if (!isset($this->labels[$index])) {
            throw new InvalidArgumentException("Row at offset $index"
                . ' does not exist.');
        }

        return $this->labels[$index];
    }
1057087
public function getAddress($index)
    {
        if (!isset($this->addresses[$index])) {
            return null;
        }
        return $this->addresses[$index];
    }
83196
public function getParamClean($index){
        if(isset($this->params[$index])){
            return $this->params[$index];
        }else{
            return NULL;
        }
    }
944451
public function setIndex($index)
    {
        if (!is_int($index) || $index < 0) {
            throw new \InvalidArgumentException(sprintf('The value\'s index must be a positive integer, "%s" given', var_export($index, true)));
        }
        $this->index = $index;
        return $this;
    }
173955
public function getContentByIndex($index)
    {
        $index = intval($index);
        return array_key_exists($index, $this->contents) ? $this->contents[$index] : null;
    }
810250
public function getValue($index = 0)
    {
        if ($index === 0 && $this->value === null) {
            return $this->defaultValue;
        }

        return (is_array($this->value) && array_key_exists($index, $this->value))
            ? $this->value[$index]
            : null;
    }
640798
public function offsetGet($index) // -> mixed [\ArrayAccess]
	{
		$r = null;
		
		if($this->offsetExists($index))
		{
			$this->moveToOffset($index);
			
			$r = $this->worker->data;
		}
		else
		{
			throw new OutOfRangeException('Offset invalid or out of range');
		}
		
		return $r;
	}
512943
public function parent(Int $index = 1) : stdClass
    {
        return $this->_layer($this->debug, $index, $index + 1);
    }
1197051
public function getParamAll($index){
        if(isset($this->allParams[$index])){            
            return Security::clean_vars($this->allParams[$index]);
        }
        else{
            return NULL;
        }
    }
1149403
public function offsetGet( $index )
    {
        if( !isset( $this->collection[$index] ) ){
            return null;
        }
        return $this->collection[$index];
    }