public function checkParameterFilter($arrayOrKey1, $value1 = null)
    {
        $checks = \MUtil_Ra::pairs(func_get_args());

        foreach($checks as $name => $value) {
            // \MUtil_Echo::track($name, $value, $this->_parameterFilter[$name]);

            if (null === $value) {
                if (isset($this->_parameterFilter[$name])) {
                    return false;
                }
            } else {
                if (isset($this->_parameterFilter[$name])) {
                    if ($this->_parameterFilter[$name] != $value) {
                        return false;
                    }
                } else {
                    return false;
                }
            }
        }

        return true;
    }
public function checkParameterFilter($arrayOrKey1, $value1 = null)
    {
        $checks = \MUtil_Ra::pairs(func_get_args());

        foreach($checks as $name => $value) {
            // \MUtil_Echo::track($name, $value, $this->_parameterFilter[$name]);

            if (null === $value) {
                if (isset($this->_parameterFilter[$name])) {
                    return false;
                }
            } else {
                if (isset($this->_parameterFilter[$name])) {
                    if ($this->_parameterFilter[$name] != $value) {
                        return false;
                    }
                } else {
                    return false;
                }
            }
        }

        return true;
    }
public function checkParameterFilter ( $ arrayOrKey1 , $ value1 = null ) { $ checks = \ MUtil_Ra :: pairs ( func_get_args ( ) ) ; foreach ( $ checks as $ name => $ value ) { // \MUtil_Echo::track($name, $value, $this->_parameterFilter[$name]); if ( null === $ value ) { if ( isset ( $ this -> _parameterFilter [ $ name ] ) ) { return false ; } } else { if ( isset ( $ this -> _parameterFilter [ $ name ] ) ) { if ( $ this -> _parameterFilter [ $ name ] != $ value ) { return false ; } } else { return false ; } } } return true ; }
Check if a menu item contains these parameter settings

@param mixed $arrayOrKey1 \MUtil_Ra:pairs() name => value argument pairs
@param mixed $value1 The value should be identical or when null, should not exist or be null
@return boolean True if all values where set
Check if a menu item contains these parameter settings