Get URL Param by index

@param int $index Position of the param starting from 0
@return string Returns requested param value
494195
public function getParamByIndex($index='')
		{
			if(!$index) return $this->_params['number'];
			
			return isset($this->_params['number'][$index]) ? (string) $this->_params['number'][$index] : null;
		}
1281239
public static function getPathSegment(int $index = 0)
    {
        $pathComponents = self::getPathSegments();
        return ArrayUtils::getArrayValueForKeyOrDefault($pathComponents, $index, false);
    }
1134056
public function get($index)
    {
        if (!isset($this->config[$index])) {
            return null;
        }

        return $this->config[$index];
    }
393403
public function getPost($index, $xss_clean = true)
    {
        return isset($this->request->get[$index])
            ? $this->get($index, $xss_clean)
            : $this->post($index, $xss_clean);
    }
1206736
public static function getByName(String $get, $index = NULL) : String
    {
        $segArr = self::segmentArray();
        
        $getVal = (int) array_search($get, $segArr);

        if( $index === 'all' )
        {
            $indexVal = count($segArr) - 1;
        }
        else
        {
            $indexVal = array_search($index, $segArr);
        }

        $return = '';

        for( $i = $getVal; $i <= $indexVal; $i++ )
        {
            $return .= $segArr[$i]."/";
        }

        return substr($return, 0, -1);
    }
176897
protected function getValue($index)
    {
        if ($this->values[$index] === null) {
            return null;
        }
        return $this->values[$index]->value;
    }
1101394
public function get(string $index) : string
    {
        if (!$this->isValid($index)) {
            throw new \InvalidArgumentException('The specified value does not exist');
        }
        return $this->map[$index];
    }
954543
public function read(string $index)
    {
        $this->withIndexFilter($index);

        $builder = $this->createIndexModelBuilder();
        $data    = $this->fetchResource($builder, $builder->getModelClass());

        return $data;
    }
202557
final public function getPostType(int $index): string {
		$types = $this->getPostTypes();
		if (!isset($types[$index])) {
			throw new ControllerException("Unknown type.",
				ControllerException::UNKNOWN_TYPE);
		}
		
		return $types[$index];
	}
374176
public function setIndex($index)
    {
        if ($index instanceof Index) {
            $index = $index->getName();
        }

        return $this->setParam('_index', $index);
    }
1179628
public String getParamValue(int index) {
        return (index < params.size()) ? params.get(index).getValue() : null;
    }
99661
public static function params($url) {
        $path  = explode('?', $url)[0];
        $query = parse_url($url, PHP_URL_QUERY);
        if ($query) {
            return site_url($path, $query);
        } else {
            return false;
        }
    }
659143
public function getLocalizedString($index)
    {
        return isset($this->language_strings[$index]) ?  $this->language_strings[$index] : $index;
    }
517531
public function getSegment($index): ?string
    {
        $path = trim($this->path, '/');
        if (isset($path{0})) {
            $parts = explode('/', $path);
            if (array_key_exists($index, $parts)) {
                return $parts[$index];
            }
        }
        return null;
    }
241679
private function getByIndex($index)
    {
        if (!isset($this->headers[$index])) {
            return null;
        }
        if ($this->headerObjects[$index] === null) {
            $this->headerObjects[$index] = $this->headerFactory->newInstance(
                $this->headers[$index][0],
                $this->headers[$index][1]
            );
        }
        return $this->headerObjects[$index];
    }
77704
public function getFieldName(int $index)
    {
        $keyArray = array_keys($this->record);

        if ($index > 0 && $index < $this->count()) {
            return $keyArray[$index];
        }

        return null;
    }
1352458
public function get($index){
		if(isset($this->map[ $index ])){
			return $this->map[ $index ];
		}
		return null;
	}