original_string: public function addShowAction($privilege = null, array $other = array())
      {
          if (isset($other['label'])) {
              $label = $other['label'];
              unset($other['label']);
          } else {
              $label = $this->_('Show');
          }
  
          $menu = $this->addAction($label, $privilege, 'show', $other);
          $menu->setModelParameters(1);
  
          return $menu;
      }
code: public function addShowAction($privilege = null, array $other = array())
      {
          if (isset($other['label'])) {
              $label = $other['label'];
              unset($other['label']);
          } else {
              $label = $this->_('Show');
          }
  
          $menu = $this->addAction($label, $privilege, 'show', $other);
          $menu->setModelParameters(1);
  
          return $menu;
      }
code_tokens: public function addShowAction ( $ privilege = null , array $ other = array ( ) ) { if ( isset ( $ other [ 'label' ] ) ) { $ label = $ other [ 'label' ] ; unset ( $ other [ 'label' ] ) ; } else { $ label = $ this -> _ ( 'Show' ) ; } $ menu = $ this -> addAction ( $ label , $ privilege , 'show' , $ other ) ; $ menu -> setModelParameters ( 1 ) ; return $ menu ; }
docstring: Add a standard show action to the current menu item
  
  @param string $privilege A privilege name, defaults to parent + .show when not specified
  @param array $other Array of extra options for this item, e.g. 'visible', 'allowed', 'class', 'icon', 'target', 'type', 'button_only'
  @return \Gems_Menu_SubmenuItem
docstring_tokens: Add a standard show action to the current menu item