Pimcore\View::getParam PHP Méthode

getParam() public méthode

public getParam ( $key, $default = null ) : mixed
$key
$default
Résultat mixed
    public function getParam($key, $default = null)
    {
        $value = $this->getRequest()->getParam($key);
        if ((null === $value || '' === $value) && null !== $default) {
            $value = $default;
        }
        return $value;
    }