Returns a value to use as parameter for $name or
$default if this object does not contain the value.

@param string $name
@param mixed $default
@return mixed
170688
public function getMenuParameter($name, $altname = null)
    {
        if (array_key_exists($name, $this->values) && ! empty($this->values[$name])) {
            return $this->values[$name];
        }

        $this->values[$name] = null;
        foreach ($this->sources as $source) {
            if ($source instanceof \MUtil_Model_Bridge_TableBridgeAbstract) {
                if ($source->has($name)) {
                    $this->values[$name] = $source->getLazy($name);
                }
            } elseif ($source instanceof \Gems_Menu_ParameterSourceInterface) {
                $this->values[$name] = $source->getMenuParameter($name, $this->values[$name]);

            } elseif ($source instanceof \Zend_Controller_Request_Abstract) {
                $value = $source->getParam($name, null);
                if (null === $value || empty($value)) {
                    $value = $source->getParam($altname, $this->values[$name]);
                }
                $this->values[$name] = $value;

            } elseif (is_array($source)) {
                // \MUtil_Echo::track($name, $source);
                if (isset($source[$name])) {
                    $this->values[$name] = $source[$name];
                }
            } elseif ($source instanceof \MUtil_Lazy_RepeatableInterface) {
                $this->values[$name] = $source->__get($name);

            }
            if (null !== $this->values[$name] && ! empty($this->values[$name])) {
                break;
            }
        }
        return $this->values[$name];
    }
968766
private function getValue ($name, $default)
	{
		$parts = explode ('.', $name);
		$file = array_shift ($parts);

		$this->loadFile ($file);

		if (! isset ($this->files[$file])) {
			return $default;
		}
		else {
			$out = $this->files[$file];
			foreach ($parts as $part)
			{
				if (!isset ($out[$part]))
				{
					return $default;
				}
				else {
					$out = $out[$part];
				}
			}
		}

		return $out;
	}
1179916
public function get(string $name, $default = null)
    {
        return ($this->exists($name)) ? $this->map[$name] : $default;
    }
474213
public function getVariable($name, $default = null)
    {
        if (!array_key_exists($name, $this->variables)) {
            return $default;
        }
        return $this->variables[$name];
    }
765145
public function get($name = null, $default = null)
    {
        if(null === $name)
        {
            return $this->get;
        }
        else
        {
            return $this->get[$name] ?? $default;
        }
    }
981337
public function getValue(string $name, $default = null)
    {
        $value = Arr::getByPath($this->config, $name, $default);

        if ($value && $value instanceof \Closure) {
            $value = $value();
        }

        return $value;
    }
1006920
public function get(string $name, $default = null)
    {
        return $this->has($name) ? $this->values[$name] : $default;
    }
234843
public function getRequestParameter($name,$default="")
    {
        if(array_key_exists($name, $this->get))
            return $this->get[$name];
        else if(array_key_exists($name, $this->post))
            return $this->post[$name];
        return $default;
    }
317273
public function get($name, $default = null)
    {
        return isset($this->attributes[$name]) ? $this->attributes[$name] : $default;
    }
366640
public function getParam($name, $default = null)
    {
        switch ($name) {
            case 'processor':
                return $this->getProcessor();
            case 'message':
                return $this->getMessage();
            case 'result':
                return $this->getResult();
            default:
                return parent::getParam($name, $default);
        }
    }
839841
protected function getQueryParam($name, $default = null)
    {
        return isset($this->request->getQueryParams()[$name]) ? $this->request->getQueryParams()[$name] : $default;
    }
1344477
public function getValueByName(string $name, $default = null)
    {
        if (isset($this->values[$name])) {
            return $this->parseType($this->values[$name]);
        }

        return $default;
    }
1089122
public function getValue($name, $default = null)
    {
        $setting = $this->get($name);

        if ($setting) {
            return $setting->getValue();
        }

        return $default;
    }
33375
public function getConfig($name, $default = null)
    {
        $value = $this->config->get($name);

        return $value === null ? $default : $value;
    }
658522
public function get(string $name, $default = null)
    {
        $parts = explode('[', $name);
        $lastKey = trim(array_pop($parts), ']');
        $current = &$this->parameters;
        foreach ($parts as $part) {
            $target = trim($part, ']');
            if (!is_array($current) || !array_key_exists($target, $current)) {
                return $default;
            }

            $current = &$current[$target];
        }

        if (!array_key_exists($lastKey, $current)) {
            return $default;
        }

        return $current[$lastKey];
    }
152084
public function get($name, $default = null)
	{
		if (is_null($name))
		{
			return $this->data;
		}
		return \Arr::get($this->data, $name, $default);
	}
389003
public function get($name, $default = null)
    {
        $result = $default;
        if (isset($this->_data[$name])) {
            $result = $this->_data[$name]->value;
        }

        return $result;
    }