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

        foreach ($params as $param => $name) {
            if (is_int($param)) {
                $param = $name;
            }
            $this->_requiredParameters[$param] = $name;
            $this->_parameters[$param] = $name;
        }
        return $this;
    }
public function addNamedParameters($arrayOrKey1 = null, $altName1 = null)
    {
        $params = \MUtil_Ra::pairs(func_get_args());

        foreach ($params as $param => $name) {
            if (is_int($param)) {
                $param = $name;
            }
            $this->_requiredParameters[$param] = $name;
            $this->_parameters[$param] = $name;
        }
        return $this;
    }
public function addNamedParameters ( $ arrayOrKey1 = null , $ altName1 = null ) { $ params = \ MUtil_Ra :: pairs ( func_get_args ( ) ) ; foreach ( $ params as $ param => $ name ) { if ( is_int ( $ param ) ) { $ param = $ name ; } $ this -> _requiredParameters [ $ param ] = $ name ; $ this -> _parameters [ $ param ] = $ name ; } return $ this ; }
Add 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)
Add required parameters - shown in the url - for this menu item .