Get parameter

@param  string $name      Parameter's name
@param  string $delimiter Nesting delimiter
@return mixed
335293
public function get($name, $delimiter = self::DELIMITER) {
		if (strpos($name, $delimiter) === false) {
			return isset($this->_data[$name])
				? $this->_data[$name]
				: null;
		}
		
		list ($first, $rest) = explode($delimiter, $name, 2);
		
		if (isset($this->_data[$first]) && $this->_data[$first] instanceof self) {
			return $this->_data[$first]->get($rest, $delimiter);
		}
	}
1239426
public function getDrupalParameter($name)
    {
        return isset($this->drupalParameters[$name]) ? $this->drupalParameters[$name] : null;
    }
94311
protected function camelCase($name, array $delimiters=['-','_'])
    {
        $spaceSeparated = str_replace($delimiters,' ', $name);
        return str_replace(' ', '', ucwords($spaceSeparated));
    }
345657
public function getPostParamValue($name, $ignoreCase = false)
    {
        if ($ignoreCase)
        {
            $name = strtolower($name);
            foreach ($this->postParams as $key => $value)
            {
                if (strtolower($key) === $name)
                {
                    return $value;
                }
            }
        }
        else
        {
            foreach ($this->postParams as $key => $value)
            {
                if ($key === $name)
                {
                    return $value;
                }
            }
        }
        return null;
    }
758647
public function getParameter($name): ?Parameter
    {
        /** @var Parameter $parameter */
        foreach ($this->parameters as $parameter) {
            if ($parameter->getKey() === $name) {
                return $parameter;
            }
        }

        return null;
    }
794137
public function getStringValue($name):?string
    {
        $value = $this->offsetGet($name);
        if (is_null($value)) {
            return null;
        }

        return (string)$value;
    }
177151
public function getGetParamValue($name, $ignoreCase = false)
    {
        if ($ignoreCase)
        {
            $name = strtolower($name);
            foreach ($this->getParams as $key => $value)
            {
                if (strtolower($key) === $name)
                {
                    return $value;
                }
            }
        }
        else
        {
            foreach ($this->getParams as $key => $value)
            {
                if ($key === $name)
                {
                    return $value;
                }
            }
        }
        return null;
    }
1354799
private function getParam(string $name, string $default = null): ?string
	{
		return $this->request->getPost($name, $default);
	}
819640
public static function get_encoded_delimiter($delimiter_name) {
        global $CFG;
        if ($delimiter_name == 'cfg' and isset($CFG->CSV_ENCODE)) {
            return $CFG->CSV_ENCODE;
        }
        $delimiter = csv_import_reader::get_delimiter($delimiter_name);
        return '&#'.ord($delimiter);
    }
601879
public function getGetPostParamValue($name, $ignoreCase = false)
    {
        $param = $this->getGetParamValue($name, $ignoreCase);
        if ($param !== null)
        {
            return $param;
        }
        else
        {
            return $this->getPostParamValue($name, $ignoreCase);
        }
    }
752850
public static function split(string $string, string $delimiter = ','): array
    {
        return preg_split('/\s*' . preg_quote($delimiter, '/') . '\s*/', $string, -1, PREG_SPLIT_NO_EMPTY);
    }
552058
protected function getParams($name = null)
    {
        $queues = !is_null($name) ? [$name] : $this->getQueues();
        $params = [
            config('queue.default'),
        ];
        if (empty($queues)) {
            return $params;
        }
        $queue = implode(',', $queues);
        if ($this->isCli()) {
            array_push($params, '--queue ' . $queue);
        } else {
            $params['--queue'] = $queue;
        }

        unset($queues);


        return $params;
    }
425629
public function getParam($name, $default = null, $optional = false)
    {
        if (isset($this->params[$name])) {
            return $this->params[$name];
        } elseif (!$optional) {
            throw new InvalidParameterException("Parameter '{$name}' is missing or invalid");
        } else {
            return $default;
        }
    }
857341
protected function getFieldValue($field_name, array $results, $delimiter = '.')
    {
        // Progress the results if the field name is using a delimiter.
        foreach (explode($delimiter, $field_name) as $name) {
            if (isset($results[$name])) {
                $results = $results[$name];
            }
        }

        return !empty($results) ? $results : null;
    }
805156
public static function get(string $name)
    {
        return (isset($_GET[$name]) && $_GET[$name] != '') ? $_GET[$name] : '';
    }
807145
public function explode($delimiter)
    {
        return func_num_args() === 1 ?
            new JArray(explode($delimiter, $this->subject)) :
            new JArray(explode($delimiter, $this->subject, func_get_arg(1)));
    }
489407
public function getGetParameter($name)
    {
        if (!$this->hasGetParameter($name)) {
            throw new \InvalidArgumentException(sprintf('The GET request parameter "%s" does not exist.', $name));
        }

        return $this->getParameters[rawurlencode($name)];
    }