public function setNamedParameters($arrayOrKey1 = null, $key2 = null)
    {
        $params = \MUtil_Ra::pairs(func_get_args());

        $this->removeParameters();
        $this->addNamedParameters($params);

        return $this;
    }
public function setNamedParameters($arrayOrKey1 = null, $key2 = null)
    {
        $params = \MUtil_Ra::pairs(func_get_args());

        $this->removeParameters();
        $this->addNamedParameters($params);

        return $this;
    }
public function setNamedParameters ( $ arrayOrKey1 = null , $ key2 = null ) { $ params = \ MUtil_Ra :: pairs ( func_get_args ( ) ) ; $ this -> removeParameters ( ) ; $ this -> addNamedParameters ( $ params ) ; return $ this ; }
Set the required parameters - shown in the url - for this
menu item.

Numeric array keys are changed into the same string as the
array value.

@param mixed $arrayOrKey1 \MUtil_Ra::pairs named array
@param mixed $key2
@return \Gems_Menu_SubMenuItem (continuation pattern)
Set the required parameters - shown in the url - for this menu item .