original_string: public function addCreateAction($privilege = null, array $other = array())
      {
          if (isset($other['label'])) {
              $label = $other['label'];
              unset($other['label']);
          } else {
              $label = $this->_('New');
          }
  
          if (null === $privilege) {
              $privilege = $this->get('privilege') . '.create';
          }
  
          return $this->addAction($label, $privilege, 'create', $other);
      }
code: public function addCreateAction($privilege = null, array $other = array())
      {
          if (isset($other['label'])) {
              $label = $other['label'];
              unset($other['label']);
          } else {
              $label = $this->_('New');
          }
  
          if (null === $privilege) {
              $privilege = $this->get('privilege') . '.create';
          }
  
          return $this->addAction($label, $privilege, 'create', $other);
      }
code_tokens: public function addCreateAction ( $ privilege = null , array $ other = array ( ) ) { if ( isset ( $ other [ 'label' ] ) ) { $ label = $ other [ 'label' ] ; unset ( $ other [ 'label' ] ) ; } else { $ label = $ this -> _ ( 'New' ) ; } if ( null === $ privilege ) { $ privilege = $ this -> get ( 'privilege' ) . '.create' ; } return $ this -> addAction ( $ label , $ privilege , 'create' , $ other ) ; }
docstring: Add an "Create new" action to the current subMenuItem
  
  @param string $privilege The privilege for the item, defaults to parent + .create 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 an Create new action to the current subMenuItem