original_string: 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;
      }
code: 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;
      }
code_tokens: 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 ; }
docstring: 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)
docstring_tokens: Add required parameters - shown in the url - for this menu item .