Frontend\Core\Engine\Url::hasParameter PHP Method

hasParameter() public method

Check if a certain ($_GET) parameter exists
public hasParameter ( mixed $index ) : boolean
$index mixed The index of the parameter.
return boolean
    public function hasParameter($index)
    {
        return isset($this->parameters[$index]) && $this->parameters[$index] != '';
    }